Class SmePinSubState
- java.lang.Object
-
- org.openmuc.jeebus.ship.state.SubState
-
- org.openmuc.jeebus.ship.state.smepin.SmePinSubState
-
-
Field Summary
Fields Modifier and Type Field Description protected PinCallBackspinCallBacks-
Fields inherited from class org.openmuc.jeebus.ship.state.SubState
changeStateCB, log, stateCB
-
-
Constructor Summary
Constructors Constructor Description SmePinSubState(StateCallBack stateCB, PinCallBacks pinCallBacks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PinMsgreceiveMsg()helper method wraps parsing in a try/catch block.-
Methods inherited from class org.openmuc.jeebus.ship.state.SubState
doProcedure, getStateCB, next, procedure, setNextSubState, setStateCB
-
-
-
-
Field Detail
-
pinCallBacks
protected PinCallBacks pinCallBacks
-
-
Constructor Detail
-
SmePinSubState
public SmePinSubState(StateCallBack stateCB, PinCallBacks pinCallBacks)
-
-
Method Detail
-
receiveMsg
protected PinMsg receiveMsg()
helper method wraps parsing in a try/catch block.- Returns:
- the parsed PIN message if successful, otherwise
null
-
-