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 |
CORBA Client Proxy.
com.cosylab.acs.maci.plug.ClientProxy.ClientProxy | ( | si.ijs.maci.Client | client | ) |
Constructor for ClientProxy.
client | CORBA reference, non-null . |
References com.cosylab.acs.maci.plug.ClientProxy.client, com.cosylab.acs.maci.plug.ClientProxy.ior, and com.cosylab.acs.maci.plug.CORBAReferenceSerializator.serialize().
AuthenticationData com.cosylab.acs.maci.plug.ClientProxy.authenticate | ( | long | executionId, | |
String | question | |||
) | throws RemoteException |
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 |
References com.cosylab.acs.maci.plug.ClientProxy.client, and com.cosylab.acs.maci.Client.components_unavailable().
void com.cosylab.acs.maci.plug.ClientProxy.disconnect | ( | ) | throws RemoteException |
boolean com.cosylab.acs.maci.plug.ClientProxy.equals | ( | Object | obj | ) |
References com.cosylab.acs.maci.plug.ClientProxy.client.
si.ijs.maci.Client com.cosylab.acs.maci.plug.ClientProxy.getClient | ( | ) |
Returns the client.
References com.cosylab.acs.maci.plug.ClientProxy.client.
String com.cosylab.acs.maci.plug.ClientProxy.getRemoteLocation | ( | ) | throws RemoteException |
Get CORBA host/port string.
References com.cosylab.acs.maci.plug.ClientProxy.ior.
void com.cosylab.acs.maci.plug.ClientProxy.message | ( | MessageType | type, | |
String | message | |||
) | throws RemoteException |
String com.cosylab.acs.maci.plug.ClientProxy.name | ( | ) | throws RemoteException |
boolean com.cosylab.acs.maci.plug.ClientProxy.ping | ( | ) | throws RemoteException |
References com.cosylab.acs.maci.plug.ClientProxy.client, and com.cosylab.acs.maci.Client.ping().
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
References com.cosylab.acs.maci.plug.ClientProxy.client.
void com.cosylab.acs.maci.plug.ClientProxy.taggedmessage | ( | MessageType | type, | |
short | id, | |||
String | message | |||
) | throws RemoteException |
static ClientType com.cosylab.acs.maci.plug.ClientProxy.toClientType | ( | si.ijs.maci.ClientType | type | ) | [static] |
Convert CORBA ClienType to manager type.
type |
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.
type |
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.
References com.cosylab.acs.maci.plug.ClientProxy.client.
si.ijs.maci.Client com.cosylab.acs.maci.plug.ClientProxy.client [protected] |
CORBA reference.
Referenced by com.cosylab.acs.maci.plug.ClientProxy.authenticate(), com.cosylab.acs.maci.plug.ClientProxy.ClientProxy(), com.cosylab.acs.maci.plug.ClientProxy.components_available(), com.cosylab.acs.maci.plug.ClientProxy.components_unavailable(), com.cosylab.acs.maci.plug.ClientProxy.disconnect(), com.cosylab.acs.maci.plug.ClientProxy.equals(), com.cosylab.acs.maci.plug.ClientProxy.getClient(), com.cosylab.acs.maci.plug.ClientProxy.message(), com.cosylab.acs.maci.plug.ClientProxy.name(), com.cosylab.acs.maci.plug.ClientProxy.ping(), com.cosylab.acs.maci.plug.ClientProxy.release(), com.cosylab.acs.maci.plug.ClientProxy.taggedmessage(), and com.cosylab.acs.maci.plug.ClientProxy.toString().
String com.cosylab.acs.maci.plug.ClientProxy.ior [protected] |