Public Member Functions | Static Public Member Functions | Protected Attributes

com.cosylab.acs.maci.plug.ClientProxy Class Reference

Inheritance diagram for com.cosylab.acs.maci.plug.ClientProxy:
com.cosylab.acs.maci.plug.CORBAReferenceSerializator com.cosylab.acs.maci.Client com.cosylab.acs.maci.plug.AdministratorProxy com.cosylab.acs.maci.plug.ContainerProxy com.cosylab.acs.maci.plug.SynchronousAdministratorProxy

List of all members.

Public Member Functions

 ClientProxy (si.ijs.maci.Client client)
AuthenticationData authenticate (long executionId, String question) throws RemoteException
void components_available (ComponentInfo[] cobs) throws RemoteException
void components_unavailable (String[] cobs) throws RemoteException
void disconnect () throws RemoteException
void message (MessageType type, String message) throws RemoteException
void taggedmessage (MessageType type, short id, String message) throws RemoteException
String name () throws RemoteException
boolean ping () throws RemoteException
si.ijs.maci.Client getClient ()
String getRemoteLocation () throws RemoteException
void release ()
String toString ()
boolean equals (Object obj)

Static Public Member Functions

static ClientType toClientType (si.ijs.maci.ClientType type)
static ImplLang toImplLang (si.ijs.maci.ImplLangType type)

Protected Attributes

si.ijs.maci.Client client
String ior

Detailed Description

CORBA Client Proxy.

Author:
Matej Sekoranja (matej.sekoranja@cosylab.com)
Version:
@VERSION@

Constructor & Destructor Documentation

com.cosylab.acs.maci.plug.ClientProxy.ClientProxy ( si.ijs.maci.Client  client  ) 

Member Function Documentation

void com.cosylab.acs.maci.plug.ClientProxy.components_available ( ComponentInfo[]  cobs  )  throws RemoteException
void com.cosylab.acs.maci.plug.ClientProxy.components_unavailable ( String[]  cobs  )  throws RemoteException
void com.cosylab.acs.maci.plug.ClientProxy.disconnect (  )  throws RemoteException
boolean com.cosylab.acs.maci.plug.ClientProxy.equals ( Object  obj  ) 
See also:
java.lang.Object.equals(Object)

References com.cosylab.acs.maci.plug.ClientProxy.client.

si.ijs.maci.Client com.cosylab.acs.maci.plug.ClientProxy.getClient (  ) 

Returns the client.

Returns:
si.ijs.maci.Client

References com.cosylab.acs.maci.plug.ClientProxy.client.

String com.cosylab.acs.maci.plug.ClientProxy.getRemoteLocation (  )  throws RemoteException
boolean com.cosylab.acs.maci.plug.ClientProxy.ping (  )  throws RemoteException
void com.cosylab.acs.maci.plug.ClientProxy.release (  ) 

We explicitly release the client reference, so that the ClientGIOPConnection can be closed, where otherwise it will occupy one of the connector threads until it gets garbage collected, possibly leading to the manager lock up described in http://jira.alma.cl/browse/COMP-979

See also:
com.cosylab.acs.maci.Client.release()

References com.cosylab.acs.maci.plug.ClientProxy.client.

static ClientType com.cosylab.acs.maci.plug.ClientProxy.toClientType ( si.ijs.maci.ClientType  type  )  [static]

Convert CORBA ClienType to manager type.

Parameters:
type 
Returns:

Referenced by com.cosylab.acs.maci.plug.ClientProxy.authenticate().

static ImplLang com.cosylab.acs.maci.plug.ClientProxy.toImplLang ( si.ijs.maci.ImplLangType  type  )  [static]

Convert CORBA ImplLang to manager type.

Parameters:
type 
Returns:

Referenced by com.cosylab.acs.maci.plug.ClientProxy.authenticate().

String com.cosylab.acs.maci.plug.ClientProxy.toString (  ) 

Returns a single-line rendition of this instance into text.

Returns:
internal state of this instance

References com.cosylab.acs.maci.plug.ClientProxy.client.


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties