Class ServerEvaluate
- java.lang.Object
-
- org.openmuc.jeebus.ship.state.machine.cmi.ServerEvaluate
-
- All Implemented Interfaces:
StateHandler
public class ServerEvaluate extends java.lang.Object implements StateHandler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openmuc.jeebus.ship.state.machine.StateHandler
StateHandler.Handles, StateHandler.UsesExtraData
-
-
Field Summary
-
Fields inherited from interface org.openmuc.jeebus.ship.state.machine.StateHandler
UNIMPLEMENTED
-
-
Constructor Summary
Constructors Constructor Description ServerEvaluate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonEntered(State previous, StateHandlerContext context)Called when the state machine enters this state.voidprocessMessage(byte[] msg, StateHandlerContext context)Called afterStateHandlerContext.processMessage().-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openmuc.jeebus.ship.state.machine.StateHandler
getExtraDataType, onBeforeExit, onMessageReceived, onTimeoutExpired
-
-
-
-
Method Detail
-
onEntered
public void onEntered(State previous, StateHandlerContext context)
Description copied from interface:StateHandlerCalled when the state machine enters this state.Invoking
StateHandlerContext.transitionTo(State)inside this method will defer the transition untilonEnteredfinishes.- Specified by:
onEnteredin interfaceStateHandler- Parameters:
previous- the previous statecontext- the execution context
-
processMessage
public void processMessage(byte[] msg, StateHandlerContext context)Description copied from interface:StateHandlerCalled afterStateHandlerContext.processMessage().- Specified by:
processMessagein interfaceStateHandler- Parameters:
msg- the raw message bytescontext- the execution context
-
-