CERNAlarmSystemInterfaceProxy.AlarmPublisher
index
/diska/alma_tmp/ACS/LGPL/CommonSoftware/ACSLaser/laser-source-python/src/CERNAlarmSystemInterfaceProxy/AlarmPublisher.py

#*******************************************************************************
# ALMA - Atacama Large Millimiter Array
# (c) National Research Council of Canada, 2008 

# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.

# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.

# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
#
# "@(#) $Id$"
#
# who       when      what
# --------  --------  ----------------------------------------------
# agrimstrup  2008-10-15  created
#

 
Modules
       
ACSJMSMessageEntity_idl

 
Classes
       
__builtin__.object
AlarmPublisher

 
class AlarmPublisher(__builtin__.object)
    This class provides the interface to the CORBA Notification Service used
to send alarms to the LASER alarm server via a CORBA notification channel.
 
  Methods defined here:
__del__(self)
Destructor
 
Params: None
 
Returns: Nothing
 
Raises:  Nothing
__init__(self, topicName=None, component=None, domain=None)
Constructor
 
Params:
- topicName is the name of the notification channel to use
- component is object generating the alarms (optional)
- domain is the name of the domain of notification channels
  the channel belongs to. (optional)
 
Returns: Nothing
 
Raises:  Nothing
publishAlarm(self, msg)
Send an alarm to the notification channel.
 
Params:
- msg is the alarm information to be sent
 
Returns: Nothing
 
Raises: Nothing

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)