Public Member Functions | |
void | setCoreService (CoreServiceImpl coreService) |
void | setTopicConnectionFactory (TopicConnectionFactory topicConnectionFactory) |
void | start () |
void | stop () |
Private Member Functions | |
void | sendHeartbeat () |
TopicSession | getTopicSession () throws JMSException, NamingException |
TopicConnection | getTopicConnection () throws JMSException, NamingException |
TopicPublisher | getTopicPublisher () throws JMSException, NamingException |
void | close () |
TimerTask | createTimerTask () |
Private Attributes | |
Timer | timer = null |
TopicConnection | connection = null |
TopicSession | session = null |
TopicPublisher | publisher = null |
CoreServiceImpl | coreService |
TopicConnectionFactory | topicConnectionFactory |
Static Private Attributes | |
final Logger | LOGGER = Logger.getLogger(HeartbeatImpl.class.getName()) |
final String | HEARTBEAT_PROPERTY = "HEARTBEAT" |
final String | HEARTBEAT_MESSAGE_TEXT = "HEARTBEAT MESSAGE" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|