public class AlarmSourceDumper extends AlarmDumperBase implements SourceListener
m_logger, m_shutdownHook| Constructor and Description |
|---|
AlarmSourceDumper(java.util.logging.Logger theLogger,
java.lang.String mangerLoc)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the resources of the alarm client
|
void |
faultStateReceived(FaultState fs)
Print the
FaultState to System.out |
static void |
main(java.lang.String[] args)
Main delegate to
AlarmDumperBase#clientRunner(String[], boolean) |
void |
sourceXMLMsgReceived(java.lang.String asiMessage)
An XML has been received: nothing to do
|
void |
startReceivingAlarms()
Connects to the NC and start receiving alarms.
|
clientRunner, formatTimestamp, receiveAlarms, receiveAlarms, registerShutdownHook, tearDowncreateContainerServices, destroyContainerServices, getAcsCorba, getAcsManagerProxygetContainerServices, initAlarmSystem, initRemoteLogging, tearDownAlarmSystempublic AlarmSourceDumper(java.util.logging.Logger theLogger,
java.lang.String mangerLoc)
throws java.lang.Exception
theLogger - The loggermangerLoc - The CORBA loc of the managerjava.lang.Exception - if an error happens instantiating the AdvancedComponentClientpublic void startReceivingAlarms()
throws java.lang.Exception
AlarmDumperBase
This must be implemented to connect to the right NC.
If the connection failed, AlarmDumperBase.startReceivingAlarms() must thrown an exception
startReceivingAlarms in class AlarmDumperBasejava.lang.Exceptionpublic void faultStateReceived(FaultState fs)
FaultState to System.outfaultStateReceived in interface SourceListenerpublic void sourceXMLMsgReceived(java.lang.String asiMessage)
sourceXMLMsgReceived in interface SourceListenerasiMessage - The ASIMessage received from an alarm sourcepublic void close()
AlarmDumperBaseclose in class AlarmDumperBasepublic static void main(java.lang.String[] args)
AlarmDumperBase#clientRunner(String[], boolean)args -