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

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

final String PROPERTYNAME = "acs.mastercomp.monitorStateChangeNotification"
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.


Member Data Documentation

LinkedList<String> alma::ACS::MasterComponentImpl::MasterComponentImplBase::StateChangeNotificationChecker::announcedStateNameHierarchy = new LinkedList<String>() [private]
 

final boolean alma::ACS::MasterComponentImpl::MasterComponentImplBase::StateChangeNotificationChecker::monitorStateChangeNotification = Boolean.getBoolean(PROPERTYNAME) [static]
 

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


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