public interface AlarmSender
Modifier and Type | Method and Description |
---|---|
void |
sendAlarm(String msg)
Sends an alarm through all channels, to the default users defined for each channel, as long as
the message hasn't been already sent very recently.
|
void |
sendAlarm(String msg,
String source)
Sends an alarm through all channels, to the users defined for the specified source in each channel,
as long as the message hasn't been already sent very recently.
|
void |
sendAlarmAlways(String msg)
Sends an alarm through all channels, to the default users defined for each channel, regardless
of the last time the same message was sent.
|
void |
sendAlarmAlways(String msg,
String source)
Sends an alarm through all channels, to the users defined for the specified source in each channel,
regardless of the last time the same message was sent.
|
void sendAlarm(String msg, String source)
msg
- The message to be sent as an alarm.source
- The alarm source. The channels can use this information to determine the recipients
of the alarm. If null, the default recipients for each channel are used.void sendAlarmAlways(String msg, String source)
msg
- The alarm message to be sent through the channels.source
- The alarm source. The channels can use this information to determine
the recipients of the alarm. If null, the default recipients for each channel are used.void sendAlarm(String msg)
void sendAlarmAlways(String msg)