Public Member Functions

com.cosylab.acs.maci.ContainerInfo Class Reference

Inheritance diagram for com.cosylab.acs.maci.ContainerInfo:
com.cosylab.acs.maci.manager.TimerTaskContainerInfo

List of all members.

Public Member Functions

 ContainerInfo (int handle, String name, Container container, long pingInterval)
Container getContainer ()
IntArray getComponents ()
int getHandle ()
ImplLang getImplLang ()
String getName ()
void setImplLang (ImplLang implLang)
void setContainer (Container container)
void setHandle (int handle)
void setName (String name)
void setComponents (IntArray components)
long getPingInterval ()
void setPingInterval (long pingInterval)
String toString ()

Detailed Description

Structure in which the Manager stores information about an container.

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

Constructor & Destructor Documentation

com.cosylab.acs.maci.ContainerInfo.ContainerInfo ( int  handle,
String  name,
Container  container,
long  pingInterval 
)

Creates an instance of ContainerInfo with all necesarry data.

Parameters:
handle handle of the container.
name name of the container.
container container itself.
pingInterval ping interval in ms.
See also:
handle
name
container

Member Function Documentation

Container com.cosylab.acs.maci.ContainerInfo.getContainer (  ) 
int com.cosylab.acs.maci.ContainerInfo.getHandle (  ) 

Returns the handle.

Returns:
int

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

ImplLang com.cosylab.acs.maci.ContainerInfo.getImplLang (  ) 

Returns the implementation language.

Returns:
ImplLang
long com.cosylab.acs.maci.ContainerInfo.getPingInterval (  ) 
Returns:
the pingInterval
void com.cosylab.acs.maci.ContainerInfo.setComponents ( IntArray  components  ) 

Sets the components.

Parameters:
components The components to set
void com.cosylab.acs.maci.ContainerInfo.setContainer ( Container  container  ) 

Sets the container.

Parameters:
container The container to set

Referenced by com.cosylab.acs.maci.manager.recovery.ContainerCommandUpdate.execute().

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

Sets the handle.

Parameters:
handle The handle to set
void com.cosylab.acs.maci.ContainerInfo.setImplLang ( ImplLang  implLang  ) 

Sets the implementation language.

Parameters:
container The language to set
void com.cosylab.acs.maci.ContainerInfo.setName ( String  name  ) 

Sets the name.

Parameters:
name The name to set
void com.cosylab.acs.maci.ContainerInfo.setPingInterval ( long  pingInterval  ) 
Parameters:
pingInterval the pingInterval to set
String com.cosylab.acs.maci.ContainerInfo.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