Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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]
 

See also:
com.cosylab.acs.maci.Client::authenticate(long, String)

Implements com::cosylab::acs::maci::Client.

void com::cosylab::acs::maci::test::TestClient::components_available ComponentInfo[]  cobs  )  throws RemoteException [inline]
 

See also:
com.cosylab.acs.maci.Client::components_available(ComponentInfo[])

Implements com::cosylab::acs::maci::Client.

void com::cosylab::acs::maci::test::TestClient::components_unavailable String[]  cobs  )  throws RemoteException [inline]
 

See also:
com.cosylab.acs.maci.Client::components_unavailable(String[])

Implements com::cosylab::acs::maci::Client.

void com::cosylab::acs::maci::test::TestClient::disconnect  )  throws RemoteException [inline]
 

See also:
com.cosylab.acs.maci.Client::disconnect()

Implements com::cosylab::acs::maci::Client.

HashMap com::cosylab::acs::maci::test::TestClient::getComponents  )  [inline]
 

Returns the cobs.

Returns:
HashMap

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

Returns the handle.

Returns:
int

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

Returns the name.

Returns:
String

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

void com::cosylab::acs::maci::test::TestClient::message MessageType  type,
String  message
throws RemoteException [inline]
 

See also:
com.cosylab.acs.maci.Client::message(MessageType, String)

Implements com::cosylab::acs::maci::Client.

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

See also:
com.cosylab.acs.maci.Client::name()

Implements com::cosylab::acs::maci::Client.

boolean com::cosylab::acs::maci::test::TestClient::ping  )  throws RemoteException [inline]
 

See also:
com.cosylab.acs.maci.Client::ping()

Implements com::cosylab::acs::maci::Client.

void com::cosylab::acs::maci::test::TestClient::setHandle int  handle  )  [inline]
 

Sets the handle.

Parameters:
handle The handle to set

void com::cosylab::acs::maci::test::TestClient::setOperative boolean  operative  )  [inline]
 

Sets the operative.

Parameters:
operative The operative to set

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

See also:
com.cosylab.acs.maci.Client::taggedmessage(MessageType, short, String)

Implements com::cosylab::acs::maci::Client.


Member Data Documentation

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

List of owned components.

int com::cosylab::acs::maci::test::TestClient::handle [package]
 

Client handle.

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.

boolean com::cosylab::acs::maci::test::TestClient::recover [package]
 

Recover flag.

ClientType com::cosylab::acs::maci::test::TestClient::type [package]
 

Client type.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:11:47 2009 for ACS Java API by doxygen 1.3.8