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

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

List of all members.

Public Member Functions

 ClientImpl (String name)
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
int getHandle ()
String getName ()
void setHandle (int handle)
void setName (String name)
String getRemoteLocation () throws RemoteException
String toString ()

Package Attributes

String name
int handle

Detailed Description

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

Constructor & Destructor Documentation

com::cosylab::acs::maci::plug::ClientImpl::ClientImpl ( String  name  )  [inline]

Implementation of Client.

Parameters:
name name of the client

Member Function Documentation

AuthenticationData com::cosylab::acs::maci::plug::ClientImpl::authenticate ( long  executionId,
String  question 
) throws RemoteException [inline]
void com::cosylab::acs::maci::plug::ClientImpl::components_available ( ComponentInfo[]  cobs  )  throws RemoteException [inline]
void com::cosylab::acs::maci::plug::ClientImpl::components_unavailable ( String[]  cobs  )  throws RemoteException [inline]
void com::cosylab::acs::maci::plug::ClientImpl::disconnect (  )  throws RemoteException [inline]
int com::cosylab::acs::maci::plug::ClientImpl::getHandle (  )  [inline]
String com::cosylab::acs::maci::plug::ClientImpl::getName (  )  [inline]

Returns the name.

Returns:
String

References name().

Referenced by com::cosylab::acs::maci::plug::ClientProxyImpl::name().

String com::cosylab::acs::maci::plug::ClientImpl::getRemoteLocation (  )  throws RemoteException [inline]

Get location string (host).

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

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

Sets the handle.

Parameters:
handle The handle to set

Referenced by com::cosylab::acs::maci::plug::ClientProxyImpl::login(), and com::cosylab::acs::maci::plug::ClientProxyImpl::logout().

void com::cosylab::acs::maci::plug::ClientImpl::setName ( String  name  )  [inline]

Sets the name.

Parameters:
name The name to set
void com::cosylab::acs::maci::plug::ClientImpl::taggedmessage ( MessageType  type,
short  id,
String  message 
) throws RemoteException [inline]
See also:
com.cosylab.acs.maci.Client::message(MessageType, int, String)

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

Referenced by com::cosylab::acs::maci::plug::ClientProxyImpl::taggedmessage().

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

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

Returns:
internal state of this instance

References handle, and name().


Member Data Documentation

Client handle.

Referenced by getHandle(), and toString().

Client name.


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

Generated by  doxygen 1.6.2