

Public Member Functions | |
| TestClient (String name) | |
| TestClient (String name, ClientType type) | |
| TestClient (String name, ClientType type, boolean recover) | |
| 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 |
| boolean | isOperative () |
| void | setOperative (boolean operative) |
| int | getHandle () |
| String | getName () |
| void | setHandle (int handle) |
| HashMap | getComponents () |
| String | getRemoteLocation () throws RemoteException |
Package Attributes | |
| String | name |
| ClientType | type |
| boolean | recover |
| boolean | operative = true |
| int | handle |
| HashMap | components = new HashMap() |
Test client implementation.
| com::cosylab::acs::maci::test::TestClient::TestClient | ( | String | name | ) | [inline] |
Constructor for TestClient.
| name | name of the client, non-null. |
| com::cosylab::acs::maci::test::TestClient::TestClient | ( | String | name, | |
| ClientType | type | |||
| ) | [inline] |
Constructor for TestClient.
| type | reply to autheticate, non-null. | |
| name | name of the client, non-null. |
| com::cosylab::acs::maci::test::TestClient::TestClient | ( | String | name, | |
| ClientType | type, | |||
| boolean | recover | |||
| ) | [inline] |
Constructor for TestClient.
| type | reply to autheticate, non-null. | |
| name | name of the client, non-null. |
| AuthenticationData com::cosylab::acs::maci::test::TestClient::authenticate | ( | long | executionId, | |
| String | question | |||
| ) | throws RemoteException [inline] |
Implements com::cosylab::acs::maci::Client.
| void com::cosylab::acs::maci::test::TestClient::components_available | ( | ComponentInfo[] | cobs | ) | throws RemoteException [inline] |
Implements com::cosylab::acs::maci::Client.
| void com::cosylab::acs::maci::test::TestClient::components_unavailable | ( | String[] | cobs | ) | throws RemoteException [inline] |
Implements com::cosylab::acs::maci::Client.
| void com::cosylab::acs::maci::test::TestClient::disconnect | ( | ) | throws RemoteException [inline] |
Implements com::cosylab::acs::maci::Client.
References setOperative().
| HashMap com::cosylab::acs::maci::test::TestClient::getComponents | ( | ) | [inline] |
| int com::cosylab::acs::maci::test::TestClient::getHandle | ( | ) | [inline] |
| String com::cosylab::acs::maci::test::TestClient::getName | ( | ) | [inline] |
| String com::cosylab::acs::maci::test::TestClient::getRemoteLocation | ( | ) | throws RemoteException [inline] |
Get location string (host).
Implements com::cosylab::acs::maci::Client.
| boolean com::cosylab::acs::maci::test::TestClient::isOperative | ( | ) | [inline] |
| void com::cosylab::acs::maci::test::TestClient::message | ( | MessageType | type, | |
| String | message | |||
| ) | throws RemoteException [inline] |
Implements com::cosylab::acs::maci::Client.
| String com::cosylab::acs::maci::test::TestClient::name | ( | ) | throws RemoteException [inline] |
Implements com::cosylab::acs::maci::Client.
Referenced by com::cosylab::acs::maci::test::TestDynamicContainer::activate_component(), com::cosylab::acs::maci::test::TestContainer::activate_component(), getName(), and com::cosylab::acs::maci::test::TestAdministrator::toString().
| boolean com::cosylab::acs::maci::test::TestClient::ping | ( | ) | throws RemoteException [inline] |
Implements com::cosylab::acs::maci::Client.
References operative.
| void com::cosylab::acs::maci::test::TestClient::setHandle | ( | int | handle | ) | [inline] |
Sets the handle.
| handle | The handle to set |
Referenced by com::cosylab::acs::maci::test::TestDaemon::startContainer().
| void com::cosylab::acs::maci::test::TestClient::setOperative | ( | boolean | operative | ) | [inline] |
| void com::cosylab::acs::maci::test::TestClient::taggedmessage | ( | MessageType | type, | |
| short | id, | |||
| String | message | |||
| ) | throws RemoteException [inline] |
HashMap com::cosylab::acs::maci::test::TestClient::components = new HashMap() [package] |
List of owned components.
Referenced by getComponents().
int com::cosylab::acs::maci::test::TestClient::handle [package] |
Client handle.
Referenced by com::cosylab::acs::maci::test::TestDynamicContainer::activate_component(), com::cosylab::acs::maci::test::TestContainer::activate_component(), com::cosylab::acs::maci::test::TestAdministrator::clientLoggedOut(), com::cosylab::acs::maci::test::TestAdministrator::containerLoggedOut(), getHandle(), com::cosylab::acs::maci::test::TestContainer::restart_component(), and com::cosylab::acs::maci::test::TestDynamicContainer::shutdown().
String com::cosylab::acs::maci::test::TestClient::name [package] |
Client name.
boolean com::cosylab::acs::maci::test::TestClient::operative = true [package] |
Client operation status. This is the value which method ping() will return.
Referenced by isOperative(), and ping().
boolean com::cosylab::acs::maci::test::TestClient::recover [package] |
Recover flag.
Referenced by authenticate().
1.6.2