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" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|