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

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

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)

Private Attributes

ClientImpl client
Manager manager
Logger logger

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

CORBA proxy implementation of Client.

Parameters:
name name of the client
logger logger.

References client.


Member Function Documentation

AuthenticationData com::cosylab::acs::maci::plug::ClientProxyImpl::authenticate ( long  executionId,
String  question 
) [inline]
void com::cosylab::acs::maci::plug::ClientProxyImpl::components_available ( ComponentInfo[]  components  )  [inline]
void com::cosylab::acs::maci::plug::ClientProxyImpl::components_unavailable ( String[]  component_names  )  [inline]
void com::cosylab::acs::maci::plug::ClientProxyImpl::disconnect (  )  [inline]
Object com::cosylab::acs::maci::plug::ClientProxyImpl::getComponent ( URI  curl,
boolean  activate 
) [inline]

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 client, com::cosylab::acs::maci::plug::ClientImpl::getHandle(), logger, and manager.

boolean com::cosylab::acs::maci::plug::ClientProxyImpl::login ( ORB  orb,
Manager  manager 
) [inline]
void com::cosylab::acs::maci::plug::ClientProxyImpl::logout (  )  [inline]
void com::cosylab::acs::maci::plug::ClientProxyImpl::message ( short  type,
String  message 
) [inline]
String com::cosylab::acs::maci::plug::ClientProxyImpl::name (  )  [inline]
boolean com::cosylab::acs::maci::plug::ClientProxyImpl::ping (  )  [inline]
void com::cosylab::acs::maci::plug::ClientProxyImpl::releaseComponent ( URI  curl  )  [inline]

Releases Component at the manager.

Parameters:
component reference to the Component.

References client, com::cosylab::acs::maci::plug::ClientImpl::getHandle(), and manager.

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

Convert manager ClientType to CORBA type.

Parameters:
type 
Returns:

References si::ijs::maci::ClientType::ADMINISTRATOR_TYPE, si::ijs::maci::ClientType::CLIENT_TYPE, and si::ijs::maci::ClientType::CONTAINER_TYPE.

Referenced by authenticate().

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

Convert manager ImplLang to CORBA type.

Parameters:
type 
Returns:

References si::ijs::maci::ImplLangType::CPP, si::ijs::maci::ImplLangType::JAVA, and si::ijs::maci::ImplLangType::PYTHON.

Referenced by authenticate().

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

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

Returns:
internal state of this instance

References client.


Member Data Documentation

Logger.

Referenced by getComponent(), login(), and logout().

CORBA reference of the maci::Manager this client is logged in.

Referenced by getComponent(), logout(), and releaseComponent().


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

Generated by  doxygen 1.6.2