com::cosylab::acs::maci::test::TestClient Class Reference

Inheritance diagram for com::cosylab::acs::maci::test::TestClient:
Inheritance graph
[legend]
Collaboration diagram for com::cosylab::acs::maci::test::TestClient:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Test client implementation.

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

Constructor & Destructor Documentation

com::cosylab::acs::maci::test::TestClient::TestClient ( String  name  )  [inline]

Constructor for TestClient.

Parameters:
name name of the client, non-null.
com::cosylab::acs::maci::test::TestClient::TestClient ( String  name,
ClientType  type 
) [inline]

Constructor for TestClient.

Parameters:
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.

Parameters:
type reply to autheticate, non-null.
name name of the client, non-null.

Member Function Documentation

AuthenticationData com::cosylab::acs::maci::test::TestClient::authenticate ( long  executionId,
String  question 
) throws RemoteException [inline]
void com::cosylab::acs::maci::test::TestClient::components_available ( ComponentInfo[]  cobs  )  throws RemoteException [inline]
void com::cosylab::acs::maci::test::TestClient::components_unavailable ( String[]  cobs  )  throws RemoteException [inline]
void com::cosylab::acs::maci::test::TestClient::disconnect (  )  throws RemoteException [inline]
HashMap com::cosylab::acs::maci::test::TestClient::getComponents (  )  [inline]

Returns the cobs.

Returns:
HashMap

References components.

int com::cosylab::acs::maci::test::TestClient::getHandle (  )  [inline]

Returns the handle.

Returns:
int

References handle.

String com::cosylab::acs::maci::test::TestClient::getName (  )  [inline]

Returns the name.

Returns:
String

References name().

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]

Returns the operative.

Returns:
boolean

References operative.

void com::cosylab::acs::maci::test::TestClient::message ( MessageType  type,
String  message 
) throws RemoteException [inline]
boolean com::cosylab::acs::maci::test::TestClient::ping (  )  throws RemoteException [inline]
void com::cosylab::acs::maci::test::TestClient::setHandle ( int  handle  )  [inline]

Sets the handle.

Parameters:
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]

Sets the operative.

Parameters:
operative The operative to set

Referenced by disconnect().

void com::cosylab::acs::maci::test::TestClient::taggedmessage ( MessageType  type,
short  id,
String  message 
) throws RemoteException [inline]

Member Data Documentation

HashMap com::cosylab::acs::maci::test::TestClient::components = new HashMap() [package]

List of owned components.

Referenced by getComponents().

Client name.

Client operation status. This is the value which method ping() will return.

Referenced by isOperative(), and ping().

Recover flag.

Referenced by authenticate().


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

Generated by  doxygen 1.6.2