#include <AlarmSupplier.h>
Public Member Functions | |
AlarmSupplier (const char *channelName) | |
virtual | ~AlarmSupplier () |
void | publishEvent (acsalarm::ASIMessage &msg) |
Protected Member Functions | |
virtual const char * | getChannelKind () |
virtual const char * | getEventType () |
This class is used to encapsulate functionality related to the CORBA Notification Service to send alarms to the laser alarm server over a CORBA notification channel. It extends the BaseSupplier class from the basenc module in ACS.
AlarmSupplier::AlarmSupplier | ( | const char * | channelName | ) |
Constructor.
channelName | the name of the notification channel to use when sending events to the laser alarm server. |
virtual AlarmSupplier::~AlarmSupplier | ( | ) | [virtual] |
Destructor.
virtual const char* AlarmSupplier::getChannelKind | ( | ) | [inline, protected, virtual] |
Overrides method from BaseSupplier.
Implements BaseHelper.
virtual const char* AlarmSupplier::getEventType | ( | ) | [inline, protected, virtual] |
Overrides method from BaseSupplier.
Implements BaseSupplier.
void AlarmSupplier::publishEvent | ( | acsalarm::ASIMessage & | msg | ) |
Method to publish an event to the LASER alarm server.
acsncErrType::PublishEventFailureExImpl | Cannot publish the event in the Notification Channel |