Public Member Functions

com.cosylab.acs.maci.ComponentInfo Class Reference

Inherits java::io::Serializable.

List of all members.

Public Member Functions

 ComponentInfo (int handle, String name, String type, String code, Component component)
int getContainer ()
IntArray getClients ()
Component getComponent ()
int getHandle ()
String[] getInterfaces ()
String getName ()
String getType ()
String getCode ()
int getAccessRights ()
void setContainer (int container)
void setComponent (Component component)
void setHandle (int handle)
void setInterfaces (String[] interfaces)
void setName (String name)
void setType (String type)
void setCode (String code)
void setAccessRights (int accessRights)
void setClients (IntArray clients)
IntArray getComponents ()
void setComponents (IntArray components)
String getContainerName ()
void setContainerName (String containerName)
String toString ()
boolean isDynamic ()
void setDynamic (boolean b)
String getDynamicContainerName ()
void setDynamicContainerName (String string)
int getKeepAliveTime ()
void setKeepAliveTime (int keepAliveTime)
int compareTo (ComponentInfo o)

Detailed Description

Structure in which the Manager (and Container) stores information about a component.

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

Constructor & Destructor Documentation

com.cosylab.acs.maci.ComponentInfo.ComponentInfo ( int  handle,
String  name,
String  type,
String  code,
Component  component 
)

Creates an instance of ComponentInfo with all necesarry data.

Parameters:
handle handle of the component.
name name of the component.
type type of the component.
code code of the component.
component component itself.
See also:
handle
name
type
component

References com.cosylab.acs.maci.ComponentInfo.isDynamic().

Referenced by com.cosylab.acs.maci.plug.ContainerProxy.activate_component(), com.cosylab.acs.maci.plug.ContainerProxy.get_component_info(), and com.cosylab.acs.maci.plug.ManagerProxy.getComponentInfo().


Member Function Documentation

int com.cosylab.acs.maci.ComponentInfo.compareTo ( ComponentInfo  o  ) 
int com.cosylab.acs.maci.ComponentInfo.getAccessRights (  ) 

Returns the accessRights.

Returns:
int
IntArray com.cosylab.acs.maci.ComponentInfo.getClients (  ) 
String com.cosylab.acs.maci.ComponentInfo.getCode (  ) 

Returns the code.

Returns:
String
Component com.cosylab.acs.maci.ComponentInfo.getComponent (  ) 
IntArray com.cosylab.acs.maci.ComponentInfo.getComponents (  ) 

Get array of component handles that this component requested.

Returns:
array of component handles that this component requested.

Referenced by com.cosylab.acs.maci.manager.recovery.ComponentInfoCommandComponentRemove.execute(), and com.cosylab.acs.maci.manager.recovery.ComponentInfoCommandComponentAdd.execute().

int com.cosylab.acs.maci.ComponentInfo.getContainer (  ) 

Returns the container.

Returns:
int
String com.cosylab.acs.maci.ComponentInfo.getContainerName (  ) 
String com.cosylab.acs.maci.ComponentInfo.getDynamicContainerName (  ) 

Get container on which dynamic component was activated.

Returns:
container on which dynamic component was activated.
int com.cosylab.acs.maci.ComponentInfo.getHandle (  ) 
String [] com.cosylab.acs.maci.ComponentInfo.getInterfaces (  ) 

Returns the interfaces.

Returns:
String[]

Referenced by com.cosylab.acs.maci.plug.ManagerProxyImpl.get_component_info().

int com.cosylab.acs.maci.ComponentInfo.getKeepAliveTime (  ) 

Get component keep alive time.

Returns:
component keep alive time.
String com.cosylab.acs.maci.ComponentInfo.getName (  ) 
String com.cosylab.acs.maci.ComponentInfo.getType (  ) 
boolean com.cosylab.acs.maci.ComponentInfo.isDynamic (  ) 
void com.cosylab.acs.maci.ComponentInfo.setAccessRights ( int  accessRights  ) 
void com.cosylab.acs.maci.ComponentInfo.setClients ( IntArray  clients  ) 
void com.cosylab.acs.maci.ComponentInfo.setCode ( String  code  ) 

Sets the code.

Parameters:
code The code to set
void com.cosylab.acs.maci.ComponentInfo.setComponent ( Component  component  ) 

Sets the component.

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

Sets the components.

Parameters:
components The components to set
void com.cosylab.acs.maci.ComponentInfo.setContainer ( int  container  ) 
void com.cosylab.acs.maci.ComponentInfo.setContainerName ( String  containerName  ) 
void com.cosylab.acs.maci.ComponentInfo.setDynamic ( boolean  b  ) 

Set dynamic flag.

Parameters:
b dynamic flag.

References com.cosylab.acs.maci.ComponentInfo.isDynamic().

void com.cosylab.acs.maci.ComponentInfo.setDynamicContainerName ( String  string  ) 

Set container on which dynamic component was activated.

Parameters:
string container on which dynamic component was activated.
void com.cosylab.acs.maci.ComponentInfo.setHandle ( int  handle  ) 

Sets the handle.

Parameters:
handle The handle to set
void com.cosylab.acs.maci.ComponentInfo.setInterfaces ( String[]  interfaces  ) 
void com.cosylab.acs.maci.ComponentInfo.setKeepAliveTime ( int  keepAliveTime  ) 

Set component keep alive time.

Parameters:
keepAliveTime the keepAliveTime to set.
void com.cosylab.acs.maci.ComponentInfo.setName ( String  name  ) 

Sets the name.

Parameters:
name The name to set

Referenced by com.cosylab.acs.maci.manager.ManagerImpl.getComponentInfo().

void com.cosylab.acs.maci.ComponentInfo.setType ( String  type  ) 

Sets the type.

Parameters:
type The type to set
String com.cosylab.acs.maci.ComponentInfo.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