|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AlarmChannel
This interface defines the behavior of an alarm channel. Alarm channels are used by the AlarmSender. An AlarmChannel can have a default user list, and it can also send messages to specific users for certain cases.
Method Summary | |
---|---|
int |
getMinResendInterval()
Returns the minimum time interval to resend the same message through this channel. |
void |
send(String msg,
String source)
Sends the alarm message to the users defined for the channel. |
void |
shutdown()
Shuts the channel down, closing any open connections it has and freeing up all its resources. |
Method Detail |
---|
void send(String msg, String source)
msg
- The alarm message to be sent.source
- The alarm source. A channel can send the alarm to different recipients depending on the source.
This parameter can be null, which means that it should be sent to the default recipients for the channel.int getMinResendInterval()
void shutdown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |