alma::ACS::MasterComponentImpl::MasterComponentImplBase::StateChangeNotificationChecker Class Reference

Inheritance diagram for alma::ACS::MasterComponentImpl::MasterComponentImplBase::StateChangeNotificationChecker:
Inheritance graph
[legend]
Collaboration diagram for alma::ACS::MasterComponentImpl::MasterComponentImplBase::StateChangeNotificationChecker:
Collaboration graph
[legend]

List of all members.

Static Public Attributes

static final String PROPERTYNAME = "acs.mastercomp.monitorStateChangeNotification"
static final boolean monitorStateChangeNotification = Boolean.getBoolean(PROPERTYNAME)

Protected Member Functions

synchronized void stateChangedNotification (String[] newStateHierarchy)

Package Functions

 StateChangeNotificationChecker (Logger logger)
synchronized void announceStateChangeNotification (String[] stateNameHierarchy)

Private Attributes

LinkedList< String > announcedStateNameHierarchy = new LinkedList<String>()

Detailed Description

This class can be used by tests to compare the externally visible state change notifications that are sent by the ROstringSeq Baci property with the internally triggered notifications. To enable this feature, the property acs.mastercomp.monitorStateChangeNotification must be set to true.

We suspect that in some cases the baci property fires too often, which would be documented with a SEVERE log.


Constructor & Destructor Documentation

alma::ACS::MasterComponentImpl::MasterComponentImplBase::StateChangeNotificationChecker::StateChangeNotificationChecker ( Logger  logger  )  [inline, package]

Member Function Documentation

synchronized void alma::ACS::MasterComponentImpl::MasterComponentImplBase::StateChangeNotificationChecker::announceStateChangeNotification ( String[]  stateNameHierarchy  )  [inline, package]
synchronized void alma::ACS::MasterComponentImpl::MasterComponentImplBase::StateChangeNotificationChecker::stateChangedNotification ( String[]  newStateHierarchy  )  [inline, protected]

Subclasses may override this and do something useful with the new state...

Parameters:
newState 

Reimplemented from alma::ACS::MasterComponentImpl::StateChangeListener.

References announcedStateNameHierarchy, and alma::ACS::MasterComponentImpl::StateChangeListener::logger.


Member Data Documentation

final String alma::ACS::MasterComponentImpl::MasterComponentImplBase::StateChangeNotificationChecker::PROPERTYNAME = "acs.mastercomp.monitorStateChangeNotification" [static]

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

Generated by  doxygen 1.6.2