|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AlarmWriter
An AlarmWriter receives alarm messages and transmits it to the receiving AlarmService on a TCP link. This interface can be used to implement other AlarmWriters to be used with this implementation of com.cisco.service.alarm A DefaultAlarmWriter is provided with this implementation and can be obtained from the AlarmManager.
Method Summary | |
---|---|
void |
close()
close the AlarmWriter |
java.lang.String |
getDescription()
|
boolean |
getEnabled()
|
java.lang.String |
getName()
|
void |
send(java.lang.String alarmMessage)
Send out the alarm message to the AlarmService. |
void |
setEnabled(boolean enable)
Enable or disable the AlarmWriter |
Method Detail |
---|
void send(java.lang.String alarmMessage)
alarmMessage
- The Alarm to be sentvoid close()
boolean getEnabled()
void setEnabled(boolean enable)
enable
- Enable or disable the AlarmWriterjava.lang.String getName()
java.lang.String getDescription()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |