|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.codexombie.jspasm.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()
Constructor.
Method Detail |
---|
public void handleStateChange(StateChangeRecord scr)
IStateChangeHandler
Called by the engine whenever an entity changes state. Concrete implementations can report the details using any suitable mechanism.
handleStateChange
in interface IStateChangeHandler
scr
- The record containing details about the state change.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |