Acspy.Util.ACSCorba
index
/alma/ACS-2016.6/ACSSW/lib/python/site-packages/Acspy/Util/ACSCorba.py

Python CORBA module for ACS.
 
Takes care of initializing the ORB and setting initial reference to MACI
manager. Also provides functions to get service and device references
from the manager.

 
Modules
       
ACSLog
CDB
omniORB.CORBA
CosNaming
CosNotifyChannelAdmin
maci
maci__POA
os

 
Functions
       
acsLogSvc()
Returns ACS Log Service reference
 
Params: None
 
Returns: ACS Log Service reference
 
Raises: ???
archivingChannel()
Returns archiving channel reference
 
Params: None
 
Returns: Archiving channel reference
 
Raises: ???
cdb()
Returns configuration database reference
 
Params: None
 
Returns: Configuration database reference
 
Raises: ???
getClient()
Returns a reference to the singled client.
 
Params: None
 
Returns: a reference to the client (or None if there are network problems).
 
Raises: Nothing
getManager()
Returns a reference to the Manager.
 
Params: None
 
Returns: a reference to the Manager (or None if there are network problems).
 
Raises: Nothing.
getManagerCorbaloc(new_corbaloc=None)
Get (or set) managers corbaloc.
 
Params: If the developer specifies a value other than None for
new_corbaloc, it is assumed this is managers corbaloc and sets it
accordingly.
 
Returns: the stringified corbaloc of manager.
 
Raises: Nothing.
getManagerHost()
Returns the hostname manager is running on.
getORB()
Returns a reference to the singled ORB.
 
Params: None
 
Returns: a reference to the ORB (or None if there are network problems).
 
Raises: Nothing.
getPOAManager()
Returns a reference to the singled POA manager and activates it so 
incoming requests can be processed.
 
Params: None
 
Returns: a reference to the POA manager (or None if there are network
problems).
 
Raises: Nothing.
getPOARoot()
Returns a reference to the singled root POA.
 
Params: None
 
Returns: a reference to the root POA (or None if there are network problems).
 
Raises: Nothing.
installTransientExceptionHandler(...)
installTransientExceptionHandler(cookie, function [, object]) -> None
 
Install a handler for TRANSIENT exceptions, for all objects or a
specified object. The function must have the signature:
 
  function(cookie, retries, exc) -> boolean
 
where cookie is the object passed on installation, retries is the
number of times this operation invocation has been retried, and exc is
the TRANSIENT exception object. If the function returns TRUE, the
operation invocation is retried; if it returns FALSE, the TRANSIENT
exception is thrown to the application.
interfaceRepository()
Returns interface repository reference
 
Params: None
 
Returns: Interface repository reference
 
Raises: ???
invalidateManagerReference()
Invalidate the MGR_REF: after a client logs out from the manager,
it has to acquire again the manager reference with getManager() and then login.
 
invalidateManagerReference() set MGR_REF to None so that getManager() does not return 
the old reference but gets a new one.
 
Params: None
 
Returns: None
log()
Returns log service reference.
 
Params: None
 
Returns: Log service reference.
 
Raises: ???
logFactory()
Returns log factory reference
 
Params: None
 
Returns: Log factory reference
 
Raises: ???
loggingChannel()
Returns logging channel reference
 
Params: None
 
Returns: Logging channel reference
 
Raises: ???
maxRetry(cookie, retries, exc)
#----------------------------------------------------------------------------
nameService()
Returns name service reference
 
Params: None
 
Returns: Name service reference
 
Raises: ???
notifyEventChannelFactory()
Returns Notification Event Channel factory reference
 
Params: None
 
Returns: Notification Event Channel factory reference
 
Raises: ???
sleep(...)
sleep(seconds)
 
Delay execution for a given number of seconds.  The argument may be
a floating point number for subsecond precision.

 
Data
        MGR_CORBALOC = 'corbaloc::134.171.18.33:3000/Manager'
MGR_REF = None
ORB = <omniORB.CORBA.ORB object>
POA_MANAGER = <omniORB.PortableServer.POAManager object>
POA_ROOT = <omniORB.PortableServer.POA object>
SINGLETON_CLIENT = <Acspy.Util.ACSCorba._Client object>
__revision__ = '$Id: ACSCorba.py,v 1.1.1.1 2012/03/07 17:40:45 acaproni Exp $'
argv = ['/alma/ACS-2016.6/Python/bin/pydoc', '-w', '/alma/ACS-2016.6/ACSSW/lib/python/site-packages/']
environ = {'ACS_CDB': '/alma/ACS-2016.6/acsdata/config/def....spx=38;5;45:*.xspf=38;5;45:', 'USER': 'almamgr'}