Public Member Functions

alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices Class Reference

Inheritance diagram for alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices:
alma.acs.container.AdvancedContainerServices

List of all members.

Public Member Functions

 AlarmSystemAdvancedContainerServices (AlarmSystemContainerServices alSysContSvcs)
org.omg.CORBA.Object corbaObjectFromString (String strObjRef)
String corbaObjectToString (org.omg.CORBA.Object objRef)
Any getAny ()
ORB getORB ()
void disconnectManagerAdmin (AdministratorOperations adminOp)
void connectManagerAdmin (AdministratorOperations adminOp, boolean retryConnectOnFailure) throws AcsJContainerEx

Constructor & Destructor Documentation

alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.AlarmSystemAdvancedContainerServices ( AlarmSystemContainerServices  alSysContSvcs  ) 

Member Function Documentation

void alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.connectManagerAdmin ( AdministratorOperations  adminOp,
boolean  retryConnectOnFailure 
) throws AcsJContainerEx

Allows to connect a manager admin object to the manager, to receive notifications etc.

In the current implementation every call to this method establishes a new connection to the manager. Should a client ever need to call this method more than once, it must also call disconnectManagerAdmin(String) for each of its admin objects.

This method accepts and distinguishes AdministratorOperations objects and the subtyped SynchronousAdministratorOperations objects.

Parameters:
adminOp callback object
retryConnectOnFailure retry if the manager is not available or the connection failed.
Exceptions:
AcsJContainerEx 
Since:
ACS 7.0

Implements alma.acs.container.AdvancedContainerServices.

org.omg.CORBA.Object alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.corbaObjectFromString ( String  strObjRef  ) 
String alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.corbaObjectToString ( org.omg.CORBA.Object  objRef  ) 

Encapsulates org.omg.CORBA.ORB#object_to_string(org.omg.CORBA.Object).

Parameters:
objRef the corba stub
Returns:
standardized string representation of objRef.

Implements alma.acs.container.AdvancedContainerServices.

References alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.getORB().

void alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.disconnectManagerAdmin ( AdministratorOperations  adminOp  ) 

Releases a previously connected manager admin object. This call is ignored if the given object is not connected.

Parameters:
componentUrl 

Implements alma.acs.container.AdvancedContainerServices.

Any alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.getAny (  ) 

Returns a reference to a new CORBA Any. Int Java the only way to do this is through the ORB itself (i.e., the create_any method).

The notification channel module provides a convenience class for dealing with CORBA Anys, see alma.acs.nc.AnyAide.

Returns:
org.omg.CORBA.Any

Implements alma.acs.container.AdvancedContainerServices.

References alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.getORB().

ORB alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.getORB (  ) 

Provides explicit access to the normally invisible ORB, for components that fulfill infrastructural tasks.

Normal subsystem components must not use this method! If they feel they should get access to the ORB, either ACS is missing a feature which should be reported, or there is a misunderstanding in how to develop software for Alma.

Returns:
the ORB that connects the container and its components with other processes.

Implements alma.acs.container.AdvancedContainerServices.

References alma.alarmsystem.corbaservice.AlarmSystemContainerServices.getOrb().

Referenced by alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.corbaObjectToString(), and alma.alarmsystem.corbaservice.AlarmSystemAdvancedContainerServices.getAny().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties