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

Inheritance diagram for com::cosylab::acs::maci::plug::ClientProxy:
Inheritance graph
[legend]
Collaboration diagram for com::cosylab::acs::maci::plug::ClientProxy:
Collaboration graph
[legend]

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
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

Private Member Functions

void writeObject (ObjectOutputStream stream) throws IOException
void readObject (ObjectInputStream stream) throws IOException, ClassNotFoundException

Static Private Attributes

static final long serialVersionUID = 5300210586145192795L

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  )  [inline]

Constructor for ClientProxy.

Parameters:
client CORBA reference, non-null.

References client, ior, and com::cosylab::acs::maci::plug::CORBAReferenceSerializator::serialize().


Member Function Documentation

AuthenticationData com::cosylab::acs::maci::plug::ClientProxy::authenticate ( long  executionId,
String  question 
) throws RemoteException [inline]
void com::cosylab::acs::maci::plug::ClientProxy::components_available ( ComponentInfo[]  cobs  )  throws RemoteException [inline]
void com::cosylab::acs::maci::plug::ClientProxy::components_unavailable ( String[]  cobs  )  throws RemoteException [inline]
void com::cosylab::acs::maci::plug::ClientProxy::disconnect (  )  throws RemoteException [inline]
boolean com::cosylab::acs::maci::plug::ClientProxy::equals ( Object  obj  )  [inline]
si.ijs.maci.Client com::cosylab::acs::maci::plug::ClientProxy::getClient (  )  [inline]
String com::cosylab::acs::maci::plug::ClientProxy::getRemoteLocation (  )  throws RemoteException [inline]

Get CORBA host/port string.

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

Implements com::cosylab::acs::maci::Client.

References ior.

void com::cosylab::acs::maci::plug::ClientProxy::message ( MessageType  type,
String  message 
) throws RemoteException [inline]
String com::cosylab::acs::maci::plug::ClientProxy::name (  )  throws RemoteException [inline]
boolean com::cosylab::acs::maci::plug::ClientProxy::ping (  )  throws RemoteException [inline]
void com::cosylab::acs::maci::plug::ClientProxy::readObject ( ObjectInputStream  stream  )  throws IOException, ClassNotFoundException [inline, private]
void com::cosylab::acs::maci::plug::ClientProxy::taggedmessage ( MessageType  type,
short  id,
String  message 
) throws RemoteException [inline]
static ClientType com::cosylab::acs::maci::plug::ClientProxy::toClientType ( si.ijs.maci.ClientType  type  )  [inline, static]

Convert CORBA ClienType to manager type.

Parameters:
type 
Returns:

Referenced by authenticate().

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

Convert CORBA ImplLang to manager type.

Parameters:
type 
Returns:

Referenced by authenticate().

String com::cosylab::acs::maci::plug::ClientProxy::toString (  )  [inline]

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

Returns:
internal state of this instance

Reimplemented in com::cosylab::acs::maci::plug::AdministratorProxy, com::cosylab::acs::maci::plug::ContainerProxy, and com::cosylab::acs::maci::plug::SynchronousAdministratorProxy.

References client.

void com::cosylab::acs::maci::plug::ClientProxy::writeObject ( ObjectOutputStream  stream  )  throws IOException [inline, private]

Save the state of the ClientProxy instance to a stream (that is, serialize it).

Reimplemented in com::cosylab::acs::maci::plug::AdministratorProxy, and com::cosylab::acs::maci::plug::ContainerProxy.

References ior.


Member Data Documentation

final long com::cosylab::acs::maci::plug::ClientProxy::serialVersionUID = 5300210586145192795L [static, private]

The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2