com::cosylab::acs::maci::ContainerInfo Class Reference

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

List of all members.

Public Types

enum  ImplementationLanguage { cpp, java, py, not_specified }

Public Member Functions

 ContainerInfo (int handle, String name, Container container, long pingInterval)
Container getContainer ()
IntArray getComponents ()
int getHandle ()
ImplementationLanguage getImplLang ()
String getName ()
void setImplLang (String 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 ()

Private Attributes

int handle
String name
Container container
IntArray components
ImplementationLanguage ImplLang
long pingInterval

Static Private Attributes

static final long serialVersionUID = -2545764366629134129L

Detailed Description

Structure in which the Manager stores information about an container.

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

Member Enumeration Documentation

Enum of the implementation languages

Enumerator:
cpp 
java 
py 
not_specified 

Constructor & Destructor Documentation

com::cosylab::acs::maci::ContainerInfo::ContainerInfo ( int  handle,
String  name,
Container  container,
long  pingInterval 
) [inline]

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

References components.


Member Function Documentation

IntArray com::cosylab::acs::maci::ContainerInfo::getComponents (  )  [inline]
Container com::cosylab::acs::maci::ContainerInfo::getContainer (  )  [inline]
int com::cosylab::acs::maci::ContainerInfo::getHandle (  )  [inline]
ImplementationLanguage com::cosylab::acs::maci::ContainerInfo::getImplLang (  )  [inline]

Returns the implementation language.

Returns:
ImplementationLanguage

Referenced by com::cosylab::acs::maci::manager::ManagerImpl::containerPostLoginActivation().

String com::cosylab::acs::maci::ContainerInfo::getName (  )  [inline]
long com::cosylab::acs::maci::ContainerInfo::getPingInterval (  )  [inline]
void com::cosylab::acs::maci::ContainerInfo::setComponents ( IntArray  components  )  [inline]

Sets the components.

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

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  )  [inline]

Sets the handle.

Parameters:
handle The handle to set
void com::cosylab::acs::maci::ContainerInfo::setImplLang ( String  ImplLang  )  [inline]

Sets the implementation language.

Parameters:
container The language to set

Referenced by com::cosylab::acs::maci::manager::ManagerImpl::containerLogin(), and com::cosylab::acs::maci::manager::ManagerImpl::internalNoSyncStartUpContainer().

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

Sets the name.

Parameters:
name The name to set
void com::cosylab::acs::maci::ContainerInfo::setPingInterval ( long  pingInterval  )  [inline]
Parameters:
pingInterval the pingInterval to set

Referenced by com::cosylab::acs::maci::manager::ManagerImpl::containerLogin().

String com::cosylab::acs::maci::ContainerInfo::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

Handles of all components hosted by the Container.

Referenced by ContainerInfo(), and getComponents().

Reference to the Container.

Referenced by getContainer().

Container's handle (in the range 0x04000000 to 0x04FFFFFF).

Referenced by getHandle(), and toString().

Manage the implementation language name

Container's name.

Referenced by getName(), and toString().

Ping interval in ms.

Referenced by getPingInterval().

final long com::cosylab::acs::maci::ContainerInfo::serialVersionUID = -2545764366629134129L [static, private]

Serial version UID.

Reimplemented in com::cosylab::acs::maci::manager::TimerTaskContainerInfo.


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

Generated by  doxygen 1.6.2