org.jscience.engineering.eventdriven
Interface IStateChangeHandler

All Known Implementing Classes:
BasicStateChangeHandler

public interface IStateChangeHandler

Interface to be implemented when developing a State Change Handler. State change handlers are used for logging state changes for debugging purposes. State change handlers must have public no-argument constructors.


Method Summary
 void handleStateChange(StateChangeRecord stateChangeRecord)
          

Called by the engine whenever an entity changes state.

 

Method Detail

handleStateChange

void handleStateChange(StateChangeRecord stateChangeRecord)

Called by the engine whenever an entity changes state. Concrete implementations can report the details using any suitable mechanism.

Parameters:
stateChangeRecord - The record containing details about the state change.