Public Member Functions

com.cosylab.acs.maci.ClientInfo Class Reference

Inheritance diagram for com.cosylab.acs.maci.ClientInfo:
com.cosylab.acs.maci.manager.TimerTaskClientInfo

List of all members.

Public Member Functions

 ClientInfo (int handle, String name, Client client)
int getAccessRights ()
Client getClient ()
IntArray getComponents ()
int getHandle ()
String getName ()
void setAccessRights (int accessRights)
void setClient (Client client)
void setHandle (int handle)
void setName (String name)
void setComponents (IntArray components)
String toString ()

Detailed Description

Structure in which the Manager stores information about a client. Here, a client is any entity that accesses components, and therefore a Component can also act as a client.

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

Constructor & Destructor Documentation

com.cosylab.acs.maci.ClientInfo.ClientInfo ( int  handle,
String  name,
Client  client 
)

Creates an instance of ClientInfo with all necesarry data.

Parameters:
handle handle of the client.
name name of the client.
client client itself.
See also:
handle
name
client

Member Function Documentation

int com.cosylab.acs.maci.ClientInfo.getAccessRights (  ) 

Returns the accessRights.

Returns:
int
Client com.cosylab.acs.maci.ClientInfo.getClient (  ) 

Returns the client.

Returns:
Client

Referenced by com.cosylab.acs.maci.manager.PingTimerTask.run().

IntArray com.cosylab.acs.maci.ClientInfo.getComponents (  ) 
int com.cosylab.acs.maci.ClientInfo.getHandle (  ) 
void com.cosylab.acs.maci.ClientInfo.setAccessRights ( int  accessRights  ) 

Sets the accessRights.

Parameters:
accessRights The accessRights to set

Referenced by com.cosylab.acs.maci.manager.TimerTaskContainerInfo.createClientInfo().

void com.cosylab.acs.maci.ClientInfo.setClient ( Client  client  ) 

Sets the client.

Parameters:
client The client to set
void com.cosylab.acs.maci.ClientInfo.setComponents ( IntArray  components  ) 

Sets the components.

Parameters:
components The components to set

Referenced by com.cosylab.acs.maci.manager.TimerTaskContainerInfo.createClientInfo().

void com.cosylab.acs.maci.ClientInfo.setHandle ( int  handle  ) 

Sets the handle.

Parameters:
handle The handle to set
void com.cosylab.acs.maci.ClientInfo.setName ( String  name  ) 

Sets the name.

Parameters:
name The name to set
String com.cosylab.acs.maci.ClientInfo.toString (  ) 

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

Returns:
internal state of this instance

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