cern::laser::business::pojo::HeartbeatImpl Class Reference

Collaboration diagram for cern::laser::business::pojo::HeartbeatImpl:
Collaboration graph
[legend]

List of all members.

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

static final Logger LOGGER = Logger.getLogger(HeartbeatImpl.class.getName())
static final String HEARTBEAT_PROPERTY = "HEARTBEAT"
static final String HEARTBEAT_MESSAGE_TEXT = "HEARTBEAT MESSAGE"

Member Function Documentation

void cern::laser::business::pojo::HeartbeatImpl::close (  )  [inline, private]

References connection, LOGGER, publisher, and session.

Referenced by sendHeartbeat().

TimerTask cern::laser::business::pojo::HeartbeatImpl::createTimerTask (  )  [inline, private]

References LOGGER, and sendHeartbeat().

Referenced by start().

TopicConnection cern::laser::business::pojo::HeartbeatImpl::getTopicConnection (  )  throws JMSException, NamingException [inline, private]

References connection, and topicConnectionFactory.

Referenced by getTopicSession().

TopicPublisher cern::laser::business::pojo::HeartbeatImpl::getTopicPublisher (  )  throws JMSException, NamingException [inline, private]

References getTopicSession(), and publisher.

Referenced by sendHeartbeat().

TopicSession cern::laser::business::pojo::HeartbeatImpl::getTopicSession (  )  throws JMSException, NamingException [inline, private]

References getTopicConnection(), and session.

Referenced by getTopicPublisher(), and sendHeartbeat().

void cern::laser::business::pojo::HeartbeatImpl::sendHeartbeat (  )  [inline, private]
void cern::laser::business::pojo::HeartbeatImpl::setCoreService ( CoreServiceImpl  coreService  )  [inline]
void cern::laser::business::pojo::HeartbeatImpl::setTopicConnectionFactory ( TopicConnectionFactory  topicConnectionFactory  )  [inline]
void cern::laser::business::pojo::HeartbeatImpl::start (  )  [inline]
void cern::laser::business::pojo::HeartbeatImpl::stop (  )  [inline]

Member Data Documentation

Referenced by close(), and getTopicConnection().

Referenced by sendHeartbeat(), and start().

final String cern::laser::business::pojo::HeartbeatImpl::HEARTBEAT_MESSAGE_TEXT = "HEARTBEAT MESSAGE" [static, private]

Referenced by sendHeartbeat().

final String cern::laser::business::pojo::HeartbeatImpl::HEARTBEAT_PROPERTY = "HEARTBEAT" [static, private]

Referenced by sendHeartbeat().

final Logger cern::laser::business::pojo::HeartbeatImpl::LOGGER = Logger.getLogger(HeartbeatImpl.class.getName()) [static, private]

Referenced by close(), and getTopicPublisher().

Referenced by close(), and getTopicSession().

Referenced by start(), and stop().

Referenced by getTopicConnection().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2