Package org.openmuc.jship.state.smepin
Class SmePinSubState
- java.lang.Object
-
- org.openmuc.jship.state.SubState
-
- org.openmuc.jship.state.smepin.SmePinSubState
-
-
Field Summary
Fields Modifier and Type Field Description protected PinCallBacks
pinCallBacks
-
Fields inherited from class org.openmuc.jship.state.SubState
busy, 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 PinMsg
receiveMsg()
helper method wraps parsing in a try/catch block.-
Methods inherited from class org.openmuc.jship.state.SubState
doProcedure, getStateCB, isBusy, next, procedure, setBusy, 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
-
-