Public Member Functions | |
HeartbeatHelper (AlarmSelectionListener selectionListener) throws LaserException | |
void | startHeartbeatCheck () throws LaserException |
void | stopHeartbeatCheck () throws LaserException |
void | onException (MOMException e) |
Private Member Functions | |
void | initHeartbeatCheck () throws LaserException, LaserConnectionException |
SubscriptionListener | getHeartbeatListener () |
TimerTask | createHeartbeatTimerTask () |
void | checkHeartbeat () |
synchronized void | resetHeartbeatReceptionTime () |
synchronized long | getHeartbeatReceptionTime () |
synchronized void | setHeartbeatReceived (boolean value) |
synchronized boolean | isHeartbeatReceived () |
Subscriber | getSubscriber () throws LaserException |
Private Attributes | |
SubscriptionListener | heartbeatListener = null |
AlarmSelectionListener | selectionListener = null |
Timer | timer = null |
String | heartbeatTopic = null |
long | heartbeatFrequency = -1 |
long | heartbeatCheckFrequency = -1 |
boolean | heartbeatReceived = false |
long | heartbeatReceptionTime = -1 |
Subscriber | cmwSubscriber |
boolean | cmwConnected = true |
AlarmService | m_laser |
Static Private Attributes | |
final Logger | LOGGER = Logger.getLogger(HeartbeatHelper.class.getName()) |
final String | HEARTBEAT_PROPERTY = "HEARTBEAT" |
final String | SQL_FILTER = "HEARTBEAT = TRUE" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|