Package org.openmuc.jeebus.ship.state
Class HelloOk
- java.lang.Object
-
- org.openmuc.jeebus.ship.state.State
-
- org.openmuc.jeebus.ship.state.ConnectionDataPreparation
-
- org.openmuc.jeebus.ship.state.HelloOk
-
public class HelloOk extends ConnectionDataPreparation
-
-
Field Summary
-
Fields inherited from class org.openmuc.jeebus.ship.state.ConnectionDataPreparation
changeStateCB, config, receivedMsg, stateCB, stateTransCBList
-
Fields inherited from class org.openmuc.jeebus.ship.state.State
log, logPrefix, shipConnCB
-
-
Constructor Summary
Constructors Constructor Description HelloOk(ShipConnCallBack shipConnCB, Configuration config, java.lang.String logPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeactivateAllTimers()SubStategetSubState()voidinit()protected voidnextState()voidprocessMsg(byte[] msg)voidsetSubState(SubState subState)java.lang.StringtoString()-
Methods inherited from class org.openmuc.jeebus.ship.state.ConnectionDataPreparation
addStateTransitionCB, getConfig, next, peekReceivedMsg, pollReceivedMsg, receivedMsg, removeStateTransitionCB, setReceivedMsg, setStateTransCBList
-
Methods inherited from class org.openmuc.jeebus.ship.state.State
getLogPrefix, sendMsg
-
-
-
-
Constructor Detail
-
HelloOk
public HelloOk(ShipConnCallBack shipConnCB, Configuration config, java.lang.String logPrefix)
-
-
Method Detail
-
init
public void init()
- Specified by:
initin classConnectionDataPreparation
-
processMsg
public void processMsg(byte[] msg) throws java.lang.IllegalStateException- Specified by:
processMsgin classState- Throws:
java.lang.IllegalStateException
-
nextState
protected void nextState()
- Specified by:
nextStatein classConnectionDataPreparation
-
deactivateAllTimers
public void deactivateAllTimers()
- Specified by:
deactivateAllTimersin classConnectionDataPreparation
-
getSubState
public SubState getSubState()
- Specified by:
getSubStatein classConnectionDataPreparation
-
setSubState
public void setSubState(SubState subState)
- Specified by:
setSubStatein classConnectionDataPreparation
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-