Public Member Functions | Static Public Member Functions

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

Inherits si::ijs::maci::ClientPOA.

List of all members.

Public Member Functions

 ClientProxyImpl (String name, Logger logger)
String name ()
void disconnect ()
AuthenticationData authenticate (long executionId, String question)
void message (short type, String message)
void taggedmessage (short type, short id, String message)
boolean ping ()
void components_available (ComponentInfo[] components)
void components_unavailable (String[] component_names)
String toString ()
boolean login (ORB orb, Manager manager)
void logout ()
Object getComponent (URI curl, boolean activate)
void releaseComponent (URI curl)

Static Public Member Functions

static ClientType toClientType (com.cosylab.acs.maci.ClientType type)
static ImplLangType toImplLangType (com.cosylab.acs.maci.ImplLang type)

Detailed Description

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

Constructor & Destructor Documentation

com.cosylab.acs.maci.plug.ClientProxyImpl.ClientProxyImpl ( String  name,
Logger  logger 
)

CORBA proxy implementation of Client.

Parameters:
name name of the client
logger logger.

Member Function Documentation

AuthenticationData com.cosylab.acs.maci.plug.ClientProxyImpl.authenticate ( long  executionId,
String  question 
)
void com.cosylab.acs.maci.plug.ClientProxyImpl.components_available ( ComponentInfo[]  components  ) 
See also:
si.ijs.maci.ClientOperations.components_available(ComponentInfo[])

References com.cosylab.acs.maci.plug.ClientImpl.components_available(), and com.cosylab.acs.maci.plug.ClientProxyImpl.name().

void com.cosylab.acs.maci.plug.ClientProxyImpl.components_unavailable ( String[]  component_names  ) 
See also:
si.ijs.maci.ClientOperations.components_unavailable(String[])

References com.cosylab.acs.maci.plug.ClientImpl.components_unavailable().

void com.cosylab.acs.maci.plug.ClientProxyImpl.disconnect (  ) 
See also:
si.ijs.maci.ClientOperations.disconnect()

References com.cosylab.acs.maci.plug.ClientImpl.disconnect().

Object com.cosylab.acs.maci.plug.ClientProxyImpl.getComponent ( URI  curl,
boolean  activate 
)

Request and obtain Component from the manager.

Parameters:
curl CURL of the Component.
activate true if Component has to activated.
Returns:
Object reference of the Component

References com.cosylab.acs.maci.plug.ClientImpl.getHandle().

boolean com.cosylab.acs.maci.plug.ClientProxyImpl.login ( ORB  orb,
Manager  manager 
)

Login to the manager and obtain handle.

Parameters:
manager CORBA maci.Manager reference, non-null
Returns:
boolean

References com.cosylab.acs.maci.Manager.login(), and com.cosylab.acs.maci.plug.ClientImpl.setHandle().

void com.cosylab.acs.maci.plug.ClientProxyImpl.logout (  ) 
void com.cosylab.acs.maci.plug.ClientProxyImpl.message ( short  type,
String  message 
)
String com.cosylab.acs.maci.plug.ClientProxyImpl.name (  ) 
See also:
si.ijs.maci.ClientOperations.name()

References com.cosylab.acs.maci.plug.ClientImpl.getName().

Referenced by com.cosylab.acs.maci.plug.ClientProxyImpl.components_available().

boolean com.cosylab.acs.maci.plug.ClientProxyImpl.ping (  ) 
See also:
si.ijs.maci.ClientOperations.ping()

References com.cosylab.acs.maci.plug.ClientImpl.ping().

void com.cosylab.acs.maci.plug.ClientProxyImpl.releaseComponent ( URI  curl  ) 

Releases Component at the manager.

Parameters:
component reference to the Component.

References com.cosylab.acs.maci.plug.ClientImpl.getHandle().

void com.cosylab.acs.maci.plug.ClientProxyImpl.taggedmessage ( short  type,
short  id,
String  message 
)
static ClientType com.cosylab.acs.maci.plug.ClientProxyImpl.toClientType ( com.cosylab.acs.maci.ClientType  type  )  [static]

Convert manager ClientType to CORBA type.

Parameters:
type 
Returns:

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

static ImplLangType com.cosylab.acs.maci.plug.ClientProxyImpl.toImplLangType ( com.cosylab.acs.maci.ImplLang  type  )  [static]

Convert manager ImplLang to CORBA type.

Parameters:
type 
Returns:

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

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

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

Returns:
internal state of this instance

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