public interface AlarmChannel
Modifier and Type | Method and Description |
---|---|
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.
|
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()