|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.engineering.eventdriven.BasicStateChangeHandler
public class BasicStateChangeHandler
Provides a basic reporting mechanism for logging state changes during run-time. This allows for some basic debugging of state models and would not normally be used in production code, so by default no handler is associated with an Engine and there will be no output. This handler reports state change information on the standard output stream.
| Constructor Summary | |
|---|---|
BasicStateChangeHandler()
Constructor. |
|
| Method Summary | |
|---|---|
void |
handleStateChange(StateChangeRecord scr)
Called by the engine whenever an entity changes state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicStateChangeHandler()
| Method Detail |
|---|
public void handleStateChange(StateChangeRecord scr)
IStateChangeHandler
handleStateChange in interface IStateChangeHandlerscr - The record containing details about the state
change.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||