

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 |
| com::cosylab::acs::maci::plug::ClientProxyImpl::ClientProxyImpl | ( | String | name, | |
| Logger | logger | |||
| ) | [inline] |
| AuthenticationData com::cosylab::acs::maci::plug::ClientProxyImpl::authenticate | ( | long | executionId, | |
| String | question | |||
| ) | [inline] |
References com::cosylab::acs::maci::plug::ClientImpl::authenticate(), com::cosylab::acs::maci::AuthenticationData::AuthenticationData(), client, toClientType(), and toImplLangType().
| 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] |
References client, and com::cosylab::acs::maci::plug::ClientImpl::components_unavailable().
| void com::cosylab::acs::maci::plug::ClientProxyImpl::disconnect | ( | ) | [inline] |
Implements si::ijs::maci::ClientOperations.
References client, and com::cosylab::acs::maci::plug::ClientImpl::disconnect().
| Object com::cosylab::acs::maci::plug::ClientProxyImpl::getComponent | ( | URI | curl, | |
| boolean | activate | |||
| ) | [inline] |
| boolean com::cosylab::acs::maci::plug::ClientProxyImpl::login | ( | ORB | orb, | |
| Manager | manager | |||
| ) | [inline] |
Login to the manager and obtain handle.
| manager | CORBA maci::Manager reference, non-null |
References si::ijs::maci::ClientPOA::_this(), client, logger, com::cosylab::acs::maci::Manager::login(), and com::cosylab::acs::maci::plug::ClientImpl::setHandle().
Referenced by com::cosylab::acs::maci::test::ManagerImplSerializationTest::testClientDie(), and com::cosylab::acs::maci::test::ManagerImplSerializationTest::testClientLogin().
| void com::cosylab::acs::maci::plug::ClientProxyImpl::logout | ( | ) | [inline] |
Logout from manager.
References client, com::cosylab::acs::maci::plug::ClientImpl::getHandle(), logger, com::cosylab::acs::maci::Manager::logout(), manager, and com::cosylab::acs::maci::plug::ClientImpl::setHandle().
Referenced by com::cosylab::acs::maci::test::ManagerImplSerializationTest::testClientLogin().
| void com::cosylab::acs::maci::plug::ClientProxyImpl::message | ( | short | type, | |
| String | message | |||
| ) | [inline] |
References client, com::cosylab::acs::maci::plug::ClientImpl::message(), com::cosylab::acs::maci::MessageType::MSG_ERROR, and com::cosylab::acs::maci::MessageType::MSG_INFORMATION.
| String com::cosylab::acs::maci::plug::ClientProxyImpl::name | ( | ) | [inline] |
Implements si::ijs::maci::ClientOperations.
References client, and com::cosylab::acs::maci::plug::ClientImpl::getName().
Referenced by components_available().
| boolean com::cosylab::acs::maci::plug::ClientProxyImpl::ping | ( | ) | [inline] |
Implements si::ijs::maci::ClientOperations.
References client, and com::cosylab::acs::maci::plug::ClientImpl::ping().
| void com::cosylab::acs::maci::plug::ClientProxyImpl::releaseComponent | ( | URI | curl | ) | [inline] |
Releases Component at the manager.
| 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] |
References client, com::cosylab::acs::maci::MessageType::MSG_ERROR, com::cosylab::acs::maci::MessageType::MSG_INFORMATION, and com::cosylab::acs::maci::plug::ClientImpl::taggedmessage().
| static ClientType com::cosylab::acs::maci::plug::ClientProxyImpl::toClientType | ( | com.cosylab.acs.maci.ClientType | type | ) | [inline, static] |
Convert manager ClientType to CORBA type.
| type |
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.
| type |
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.
References client.
Client implementation.
Referenced by authenticate(), ClientProxyImpl(), components_available(), components_unavailable(), disconnect(), getComponent(), login(), logout(), message(), name(), ping(), releaseComponent(), taggedmessage(), and toString().
Logger com::cosylab::acs::maci::plug::ClientProxyImpl::logger [private] |
Logger.
Referenced by getComponent(), login(), and logout().
CORBA reference of the maci::Manager this client is logged in.
Referenced by getComponent(), logout(), and releaseComponent().
1.6.2