import "maci.idl";
Inheritance diagram for maci::Manager:
Public Member Functions | |
boolean | ping () |
ClientInfo | login (in Client reference) raises (maciErrType::NoPermissionEx) |
void | logout (in Handle id) raises (maciErrType::NoPermissionEx) |
Handle | register_component (in Handle id, in string component_url, in string type, in Object c) raises (maciErrType::NoPermissionEx, maciErrType::CannotRegisterComponentEx) |
void | unregister_component (in Handle id, in Handle h) raises (maciErrType::NoPermissionEx, maciErrType::CannotUnregisterComponentEx) |
Object | get_service (in Handle id, in CURL service_url, in boolean activate) raises (maciErrType::NoPermissionEx, maciErrType::CannotGetComponentEx, maciErrType::ComponentNotAlreadyActivatedEx, maciErrType::ComponentConfigurationNotFoundEx) |
Object | get_component (in Handle id, in CURL service_url, in boolean activate) raises (maciErrType::NoPermissionEx, maciErrType::CannotGetComponentEx, maciErrType::ComponentNotAlreadyActivatedEx, maciErrType::ComponentConfigurationNotFoundEx) |
Object | get_component_non_sticky (in Handle id, in CURL component_url) raises (maciErrType::NoPermissionEx, maciErrType::CannotGetComponentEx, maciErrType::ComponentNotAlreadyActivatedEx) |
void | make_component_immortal (in Handle id, in CURL component_url, in boolean immortal_state) raises (maciErrType::NoPermissionEx, maciErrType::ComponentNotAlreadyActivatedEx) |
long | release_component (in Handle id, in CURL component_url) raises (maciErrType::NoPermissionEx) |
long | force_release_component (in Handle id, in CURL component_url) raises (maciErrType::NoPermissionEx) |
oneway void | shutdown (in Handle id, in unsigned long containers) |
ContainerInfoSeq | get_container_info (in Handle id, in HandleSeq h, in string name_wc) raises (maciErrType::NoPermissionEx) |
ClientInfoSeq | get_client_info (in Handle id, in HandleSeq h, in string name_wc) raises (maciErrType::NoPermissionEx) |
ComponentInfoSeq | get_component_info (in Handle id, in HandleSeq h, in string name_wc, in string type_wc, in boolean active_only) raises (maciErrType::NoPermissionEx) |
Object | restart_component (in Handle client, in CURL component_url) raises (maciErrType::NoPermissionEx, maciErrType::CannotGetComponentEx) |
ComponentInfo | get_dynamic_component (in Handle client, in ComponentSpec c, in boolean mark_as_default) raises (maciErrType::NoPermissionEx, maciErrType::IncompleteComponentSpecEx, maciErrType::InvalidComponentSpecEx, maciErrType::ComponentSpecIncompatibleWithActiveComponentEx, maciErrType::CannotGetComponentEx) |
ComponentInfo | get_collocated_component (in Handle client, in ComponentSpec c, in boolean mark_as_default, in CURL target_component) raises (maciErrType::NoPermissionEx, maciErrType::IncompleteComponentSpecEx, maciErrType::InvalidComponentSpecEx, maciErrType::ComponentSpecIncompatibleWithActiveComponentEx, maciErrType::CannotGetComponentEx) |
ComponentInfo | get_default_component (in Handle client, in string component_type) raises (maciErrType::NoPermissionEx, maciErrType::NoDefaultComponentEx, maciErrType::CannotGetComponentEx) |
void | shutdown_container (in Handle id, in string container_name, in unsigned long action) raises (maciErrType::NoPermissionEx) |
Public Attributes | |
readonly attribute string | domain_name |
Manager has the following functionality:
|
Releases a component also if still referenced by other components/clients.
|
|
Get all the information that the Manager has about its current clients. To invoke this method, the caller must have INTROSPECT_MANAGER access rights, or it must be the object whose info it is requesting. Calling this function does not affect the internal state of the Manager.
|
|
Activation of a component so that it runs in the same process as another given component.
|
|
Get a component, activating it if necessary. The client represented by id (the handle) must have adequate access rights to access the component.
|
|
Get all the information that the Manager has about components. To invoke this method, the caller must have INTROSPECT_MANAGER access rights, or it must have adequate privileges to access the component (the same as with the get_component method). Information about all components is returned, unless the active_only parameter is set to True, in which case only information about those components that are currently registered with the Manager and activated is returned. Calling this function does not affect the internal state of the Manager.
|
|
Gets a non-sticky reference to a component. A non-sticky reference does not bind the Manager to keep alive the Component, and the Client requesting a non-sticky reference is not considered when checking for reference counts. The Manager can deactivate Components independently of any non-sticky reference. This is typically used by "weak clients" like graphical user interfaces. Since a non-sticky reference is not considered in reference counting, it will also not activate the component if it is not already active. As a consequence, asking for a non-sticky reference to a not-active Component throws an exception. The client should not attempt to release the non-sticky reference, which would yield an exception. The client represented by id (the handle) must have adequate access rights to access the component.
|
|
Get all the information that the Manager has about its known containers. To invoke this method, the caller must have INTROSPECT_MANAGER access rights, or it must be the object whose info it is requesting. Calling this function does not affect the internal state of the Manager.
|
|
Returns the default component of specific type.
|
|
Activation of dynamic component.
|
|
Get a service, activating it if necessary (components). The client represented by id (the handle) must have adequate access rights to access the service. NOTE: a component is also a service, i.e. a service activated by a container.
|
|
Login to MACI. Containers, Clients and Administrative clients call this function first to identify themselves with the Manager. The Manager authenticates them (through the authenticate function), and assigns them access rights and a handle, through which they will identify themselves at subsequent calls to the Manager.
|
|
Logout from MACI.
|
|
Change mortality state of an component. Component must be already active, otherwise maciErrType::ComponentNotAlreadyActivatedEx exception will be thrown. The caller must be an owner of an component or have administator rights, otherwise maciErrType::NoPermissionEx exception will be thrown.
|
|
Allows operator/monitoring tools to check the status of the manager. The required return value is "true" (it is not entierely clear why these ping methods don't usually just return void). |
|
Register a CORBA object as a component, assigning it a CURL and making it accessible through the Manager. The component is treated as an immortal component.
|
|
Release a component. In order for this operation to be possible, the caller represented by the id must have previously successfuly requested the component via a call to get_component. Releasing a component more times than requesting it should be avoided, but it produces no errors.
|
|
Restarts a component.
|
|
Shutdown the Manager. Warning: This call will also deactivate all components active in the system, including startup and immortal components. Notice that this is a oneway method and therefore there cannot be return values or user exceptions. Only CORBA runtime exceptions due to communication issues can be thrown
|
|
Shutdown a container.
|
|
Unregister a component from the Manager.
|
|
The fully qualified name of the domain, e.g., "antenna1.alma.nrao". |