Inherits java::io::Serializable.
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) |
Structure in which the Manager (and Container) stores information about a component.
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.
handle | handle of the component. | |
name | name of the component. | |
type | type of the component. | |
code | code of the component. | |
component | component itself. |
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().
int com.cosylab.acs.maci.ComponentInfo.compareTo | ( | ComponentInfo | o | ) |
int com.cosylab.acs.maci.ComponentInfo.getAccessRights | ( | ) |
Returns the accessRights.
IntArray com.cosylab.acs.maci.ComponentInfo.getClients | ( | ) |
Returns the clients.
Referenced by com.cosylab.acs.maci.manager.recovery.ComponentCommandClientRemove.execute(), com.cosylab.acs.maci.manager.recovery.ComponentCommandClientAdd.execute(), com.cosylab.acs.maci.manager.ManagerImpl.makeComponentImmortal(), and com.cosylab.acs.maci.manager.ManagerImpl.registerComponent().
String com.cosylab.acs.maci.ComponentInfo.getCode | ( | ) |
Returns the code.
Component com.cosylab.acs.maci.ComponentInfo.getComponent | ( | ) |
Returns the component.
Referenced by com.cosylab.acs.maci.plug.ManagerProxyImpl.get_collocated_component(), com.cosylab.acs.maci.plug.ManagerProxyImpl.get_default_component(), com.cosylab.acs.maci.plug.ManagerProxyImpl.get_dynamic_component(), com.cosylab.acs.maci.manager.ManagerImpl.getComponentInfo(), and com.cosylab.acs.maci.manager.ManagerImpl.getComponentNonSticky().
IntArray com.cosylab.acs.maci.ComponentInfo.getComponents | ( | ) |
Get 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.
String com.cosylab.acs.maci.ComponentInfo.getContainerName | ( | ) |
Get container name which hosts the component.
Referenced by com.cosylab.acs.maci.manager.ManagerImpl.getCollocatedComponent(), com.cosylab.acs.maci.manager.ManagerImpl.getComponentInfo(), com.cosylab.acs.maci.manager.ComponentInfoTopologicalSortManager.getComponentShutdownOrder(), and com.cosylab.acs.maci.manager.ComponentInfoTopologicalSortManager.run().
String com.cosylab.acs.maci.ComponentInfo.getDynamicContainerName | ( | ) |
Get container on which dynamic component was activated.
int com.cosylab.acs.maci.ComponentInfo.getHandle | ( | ) |
Returns the handle.
Referenced by com.cosylab.acs.maci.manager.ManagerImpl.makeComponentImmortal(), and com.cosylab.acs.maci.manager.ManagerImpl.registerComponent().
String [] com.cosylab.acs.maci.ComponentInfo.getInterfaces | ( | ) |
Returns the interfaces.
Referenced by com.cosylab.acs.maci.plug.ManagerProxyImpl.get_component_info().
int com.cosylab.acs.maci.ComponentInfo.getKeepAliveTime | ( | ) |
Get component keep alive time.
String com.cosylab.acs.maci.ComponentInfo.getName | ( | ) |
Returns the name.
Referenced by com.cosylab.acs.maci.manager.ManagerImpl.getCollocatedComponent(), com.cosylab.acs.maci.manager.ManagerImpl.getComponentInfo(), com.cosylab.acs.maci.manager.ManagerImpl.getComponentNonSticky(), com.cosylab.acs.maci.manager.ManagerImpl.getDynamicComponent(), com.cosylab.acs.maci.manager.ManagerImpl.makeComponentImmortal(), and com.cosylab.acs.maci.manager.ManagerImpl.registerComponent().
String com.cosylab.acs.maci.ComponentInfo.getType | ( | ) |
Returns the type.
Referenced by com.cosylab.acs.maci.manager.ManagerImpl.getCollocatedComponent(), com.cosylab.acs.maci.manager.ManagerImpl.getComponentInfo(), com.cosylab.acs.maci.manager.ManagerImpl.getDynamicComponent(), and com.cosylab.acs.maci.manager.ManagerImpl.registerComponent().
boolean com.cosylab.acs.maci.ComponentInfo.isDynamic | ( | ) |
Get dynamic flag.
Referenced by com.cosylab.acs.maci.ComponentInfo.ComponentInfo(), and com.cosylab.acs.maci.ComponentInfo.setDynamic().
void com.cosylab.acs.maci.ComponentInfo.setAccessRights | ( | int | accessRights | ) |
Sets the access rights.
accessRights | The access rights to set |
Referenced by com.cosylab.acs.maci.plug.ContainerProxy.activate_component(), com.cosylab.acs.maci.plug.ContainerProxy.CBComponentInfoImpl.done(), com.cosylab.acs.maci.plug.ContainerProxy.get_component_info(), com.cosylab.acs.maci.plug.ManagerProxy.getComponentInfo(), and com.cosylab.acs.maci.manager.ManagerImpl.registerComponent().
void com.cosylab.acs.maci.ComponentInfo.setClients | ( | IntArray | clients | ) |
Sets the clients.
clients | The clients to set |
Referenced by com.cosylab.acs.maci.plug.ContainerProxy.activate_component(), com.cosylab.acs.maci.plug.ContainerProxy.CBComponentInfoImpl.done(), com.cosylab.acs.maci.plug.ContainerProxy.get_component_info(), and com.cosylab.acs.maci.plug.ManagerProxy.getComponentInfo().
void com.cosylab.acs.maci.ComponentInfo.setCode | ( | String | code | ) |
Sets the code.
code | The code to set |
void com.cosylab.acs.maci.ComponentInfo.setComponent | ( | Component | component | ) |
Sets the component.
component | The component to set |
void com.cosylab.acs.maci.ComponentInfo.setComponents | ( | IntArray | components | ) |
Sets the components.
components | The components to set |
void com.cosylab.acs.maci.ComponentInfo.setContainer | ( | int | container | ) |
Sets the container.
container | The container to set |
Referenced by com.cosylab.acs.maci.plug.ContainerProxy.activate_component(), com.cosylab.acs.maci.plug.ContainerProxy.CBComponentInfoImpl.done(), com.cosylab.acs.maci.plug.ContainerProxy.get_component_info(), com.cosylab.acs.maci.plug.ManagerProxy.getComponentInfo(), and com.cosylab.acs.maci.manager.ManagerImpl.registerComponent().
void com.cosylab.acs.maci.ComponentInfo.setContainerName | ( | String | containerName | ) |
Set container name.
containerName | The container name to set. |
Referenced by com.cosylab.acs.maci.plug.ContainerProxy.activate_component(), com.cosylab.acs.maci.plug.ContainerProxy.CBComponentInfoImpl.done(), com.cosylab.acs.maci.plug.ContainerProxy.get_component_info(), com.cosylab.acs.maci.plug.ManagerProxy.getComponentInfo(), com.cosylab.acs.maci.manager.ManagerImpl.getComponentInfo(), and com.cosylab.acs.maci.manager.ManagerImpl.registerComponent().
void com.cosylab.acs.maci.ComponentInfo.setDynamic | ( | boolean | b | ) |
Set dynamic flag.
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.
string | container on which dynamic component was activated. |
void com.cosylab.acs.maci.ComponentInfo.setHandle | ( | int | handle | ) |
Sets the handle.
handle | The handle to set |
void com.cosylab.acs.maci.ComponentInfo.setInterfaces | ( | String[] | interfaces | ) |
Sets the interfaces.
interfaces | The interfaces to set |
Referenced by com.cosylab.acs.maci.plug.ContainerProxy.activate_component(), com.cosylab.acs.maci.plug.ContainerProxy.CBComponentInfoImpl.done(), com.cosylab.acs.maci.plug.ContainerProxy.get_component_info(), com.cosylab.acs.maci.plug.ManagerProxy.getComponentInfo(), and com.cosylab.acs.maci.manager.ManagerImpl.registerComponent().
void com.cosylab.acs.maci.ComponentInfo.setKeepAliveTime | ( | int | keepAliveTime | ) |
Set component keep alive time.
keepAliveTime | the keepAliveTime to set. |
void com.cosylab.acs.maci.ComponentInfo.setName | ( | String | name | ) |
Sets the name.
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.
type | The type to set |
String com.cosylab.acs.maci.ComponentInfo.toString | ( | ) |
Returns a single-line rendition of this instance into text.