Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cern::laser::business::pojo::AlarmPublisherImpl Class Reference

List of all members.

Public Member Functions

 AlarmPublisherImpl ()
void setTopicConnectionFactory (TopicConnectionFactory topicConnectionFactory)
void setCategoryRootTopic (String categoryRootTopic)
void publish (AlarmChange alarmChange)
void sendInit (AlarmImpl alarm, String destination)
void sendInit (Collection alarms, String destination)
void publish (Collection alarmChanges)
String getCategoryRootTopic ()
void sendInitFinished (String destination)
void sendSearch (Collection alarms, String destination)

Private Member Functions

void sendSearchFinished (String destination)
TopicSession getTopicSession () throws JMSException, NamingException
TopicConnection getTopicConnection () throws JMSException, NamingException
TopicPublisher getTopicPublisher () throws JMSException, NamingException
void close ()
void setMessageProperties (Message message, Alarm alarm) throws JMSException

Private Attributes

Context context = null
TopicConnection connection = null
TopicSession session = null
TopicPublisher publisher = null
TopicConnectionFactory topicConnectionFactory
String categoryRootTopic = DEFAULT_CATEGORY_ROOT_TOPIC

Static Private Attributes

final String LASER_INIT_PROPERTY = "LASER_INIT"
final String LASER_SEARCH_PROPERTY = "LASER_SEARCH"
final Logger LOGGER = Logger.getLogger(AlarmPublisherImpl.class.getName())
final String DEFAULT_CATEGORY_ROOT_TOPIC = "CMW.ALARM_SYSTEM.CATEGORIES"
final String BOOLEAN_SUFFIX = "_BOOL"
final String INTEGER_SUFFIX = "_INT"
final String FLOAT_SUFFIX = "_FLOAT"
final String DOUBLE_SUFFIX = "_DOUBLE"
final String SHORT_SUFFIX = "_SHORT"
final String LONG_SUFFIX = "_LONG"
final String STRING_SUFFIX = "_STRING"
final String BYTE_SUFFIX = "_BYTE"

Constructor & Destructor Documentation

cern::laser::business::pojo::AlarmPublisherImpl::AlarmPublisherImpl  )  [inline]
 


Member Function Documentation

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

String cern::laser::business::pojo::AlarmPublisherImpl::getCategoryRootTopic  )  [inline]
 

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

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

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

void cern::laser::business::pojo::AlarmPublisherImpl::publish Collection  alarmChanges  )  [inline]
 

void cern::laser::business::pojo::AlarmPublisherImpl::publish AlarmChange  alarmChange  )  [inline]
 

change belongs to the reduced set if and only if the transition is from whatever to (ACTIVE, NOT REDUCED, NOT MASKED) or from (ACTIVE, NOT REDUCED, NOT MASKED) to whatever else or if there was not a transition but a change of something NOT REDUCED and NOT MASKED

change belongs to the not reduced set if an only if the transition was from ACTIVE to NOT ACTIVE or from NOT ACTIVE to ACTIVE or if it was not triggered by reduction or mask flags

void cern::laser::business::pojo::AlarmPublisherImpl::sendInit Collection  alarms,
String  destination
[inline]
 

void cern::laser::business::pojo::AlarmPublisherImpl::sendInit AlarmImpl  alarm,
String  destination
[inline]
 

void cern::laser::business::pojo::AlarmPublisherImpl::sendInitFinished String  destination  )  [inline]
 

void cern::laser::business::pojo::AlarmPublisherImpl::sendSearch Collection  alarms,
String  destination
[inline]
 

Parameters:
init_alarms 
destination 

void cern::laser::business::pojo::AlarmPublisherImpl::sendSearchFinished String  destination  )  [inline, private]
 

void cern::laser::business::pojo::AlarmPublisherImpl::setCategoryRootTopic String  categoryRootTopic  )  [inline]
 

void cern::laser::business::pojo::AlarmPublisherImpl::setMessageProperties Message  message,
Alarm  alarm
throws JMSException [inline, private]
 

void cern::laser::business::pojo::AlarmPublisherImpl::setTopicConnectionFactory TopicConnectionFactory  topicConnectionFactory  )  [inline]
 


Member Data Documentation

final String cern::laser::business::pojo::AlarmPublisherImpl::BOOLEAN_SUFFIX = "_BOOL" [static, private]
 

final String cern::laser::business::pojo::AlarmPublisherImpl::BYTE_SUFFIX = "_BYTE" [static, private]
 

String cern::laser::business::pojo::AlarmPublisherImpl::categoryRootTopic = DEFAULT_CATEGORY_ROOT_TOPIC [private]
 

TopicConnection cern::laser::business::pojo::AlarmPublisherImpl::connection = null [private]
 

Context cern::laser::business::pojo::AlarmPublisherImpl::context = null [private]
 

final String cern::laser::business::pojo::AlarmPublisherImpl::DEFAULT_CATEGORY_ROOT_TOPIC = "CMW.ALARM_SYSTEM.CATEGORIES" [static, private]
 

final String cern::laser::business::pojo::AlarmPublisherImpl::DOUBLE_SUFFIX = "_DOUBLE" [static, private]
 

final String cern::laser::business::pojo::AlarmPublisherImpl::FLOAT_SUFFIX = "_FLOAT" [static, private]
 

final String cern::laser::business::pojo::AlarmPublisherImpl::INTEGER_SUFFIX = "_INT" [static, private]
 

final String cern::laser::business::pojo::AlarmPublisherImpl::LASER_INIT_PROPERTY = "LASER_INIT" [static, private]
 

final String cern::laser::business::pojo::AlarmPublisherImpl::LASER_SEARCH_PROPERTY = "LASER_SEARCH" [static, private]
 

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

final String cern::laser::business::pojo::AlarmPublisherImpl::LONG_SUFFIX = "_LONG" [static, private]
 

TopicPublisher cern::laser::business::pojo::AlarmPublisherImpl::publisher = null [private]
 

TopicSession cern::laser::business::pojo::AlarmPublisherImpl::session = null [private]
 

final String cern::laser::business::pojo::AlarmPublisherImpl::SHORT_SUFFIX = "_SHORT" [static, private]
 

final String cern::laser::business::pojo::AlarmPublisherImpl::STRING_SUFFIX = "_STRING" [static, private]
 

TopicConnectionFactory cern::laser::business::pojo::AlarmPublisherImpl::topicConnectionFactory [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:08:49 2009 for ACS Java API by doxygen 1.3.8