Public Member Functions | Package Attributes

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

Inheritance diagram for com.cosylab.acs.maci.plug.ClientImpl:
com.cosylab.acs.maci.Client

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

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
void com.cosylab.acs.maci.plug.ClientImpl.components_available ( ComponentInfo[]  cobs  )  throws RemoteException
void com.cosylab.acs.maci.plug.ClientImpl.components_unavailable ( String[]  cobs  )  throws RemoteException
void com.cosylab.acs.maci.plug.ClientImpl.disconnect (  )  throws RemoteException
String com.cosylab.acs.maci.plug.ClientImpl.getName (  ) 

Returns the name.

Returns:
String

References com.cosylab.acs.maci.plug.ClientImpl.name.

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

String com.cosylab.acs.maci.plug.ClientImpl.getRemoteLocation (  )  throws RemoteException

Get location string (host).

Implements com.cosylab.acs.maci.Client.

void com.cosylab.acs.maci.plug.ClientImpl.message ( MessageType  type,
String  message 
) throws RemoteException
boolean com.cosylab.acs.maci.plug.ClientImpl.ping (  )  throws RemoteException
void com.cosylab.acs.maci.plug.ClientImpl.release (  ) 

Release remote resources of this object.

Exceptions:
RemoteException 

Implements com.cosylab.acs.maci.Client.

void com.cosylab.acs.maci.plug.ClientImpl.setHandle ( int  handle  ) 

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  ) 

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

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

Returns:
internal state of this instance

References com.cosylab.acs.maci.plug.ClientImpl.handle, and com.cosylab.acs.maci.plug.ClientImpl.name().


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties