public interface Northbounder
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name.
|
boolean |
isReady()
Used to determine if the northbounder is ready to accept alarms.
|
void |
onAlarm(NorthboundAlarm alarm)
On alarm.
|
void |
reloadConfig()
Reloads configuration.
|
void |
start()
Start.
|
void |
stop()
Stop.
|
void start()
throws NorthbounderException
NorthbounderException - the northbounder exceptionboolean isReady()
NorthboundAlarms.
This method is called once after northbounder is registered and started.
If the status were to change sometime after, the northbounder must re-register itself.true if the northbounder is ready to accept alarms, false otherwise.void onAlarm(NorthboundAlarm alarm) throws NorthbounderException
alarm - the alarmNorthbounderException - the northbounder exceptionvoid stop() throws NorthbounderException
NorthbounderException - the northbounder exceptionString getName()
void reloadConfig()
throws NorthbounderException
NorthbounderExceptionCopyright © 2022. All rights reserved.