Public Member Functions | |
Map | subscribe (Selection selection) throws LaserConnectionException, LaserException, LaserTimeOutException |
void | resetSelection () throws LaserException |
void | onException (MOMException e) |
void | onMessage (Message msg) |
Package Functions | |
AlarmSelectionHelper (AlarmSelectionListener selectionListener) throws LaserException | |
Private Member Functions | |
void | waitForInit () |
String | buildSQLFilter (Selection selection) |
String | buildInitSQLFilter (String sql_filter) |
Collection | setupCategorySubscriptions (Selection selection, String sql_filter) throws LaserConnectionException, LaserException |
synchronized void | setInitialized (boolean value) |
synchronized boolean | isInitialized () |
synchronized void | increaseInitWaitTime () |
void | resetInitWaitTime () |
boolean | isInitTimedOut () |
Map | getInitialSelection () |
String | getCategoryRootTopic () throws LaserConnectionException, LaserException |
String | getClientRootTopic () throws LaserException, LaserConnectionException |
SubscriptionListener | getInitialSelectionListener () |
Subscriber | getSubscriber () throws LaserException |
Private Attributes | |
boolean | initialized = false |
long | initWaitTime = 0 |
Subscriber | cmwSubscriber |
String | clientRootTopic |
boolean | cmwConnected = true |
AlarmSelectionListener | selectionListener |
Map | initialSelection = null |
SubscriptionListener | initialSelectionListener |
String | categoryRootTopic |
AlarmService | m_laser |
Static Private Attributes | |
final Logger | LOGGER = Logger.getLogger(AlarmSelectionHelper.class.getName()) |
final String | LASER_INIT_PROPERTY = "LASER_INIT" |
final long | INIT_DELAY = 1000 |
final long | INIT_TIMEOUT = 30000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DOCUMENT ME!
|
|
DOCUMENT ME!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|