Package org.jivesoftware.smack.fsm
Class State.AbstractTransport
- java.lang.Object
-
- org.jivesoftware.smack.fsm.State
-
- org.jivesoftware.smack.fsm.State.AbstractTransport
-
- Enclosing class:
- State
public abstract static class State.AbstractTransport extends State
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jivesoftware.smack.fsm.State
State.AbstractTransport
-
-
Field Summary
-
Fields inherited from class org.jivesoftware.smack.fsm.State
connectionInternal, stateDescriptor
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractTransport(XmppClientToServerTransport transport, StateDescriptor stateDescriptor, ModularXmppClientToServerConnectionInternal connectionInternal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StateTransitionResult.TransitionImpossible
isTransitionToPossible(WalkStateGraphContext walkStateGraphContext)
Check if the state should be activated.-
Methods inherited from class org.jivesoftware.smack.fsm.State
ensureNotOnOurWayToAuthenticatedAndResourceBound, getStateDescriptor, resetState, toString, transitionInto
-
-
-
-
Constructor Detail
-
AbstractTransport
protected AbstractTransport(XmppClientToServerTransport transport, StateDescriptor stateDescriptor, ModularXmppClientToServerConnectionInternal connectionInternal)
-
-
Method Detail
-
isTransitionToPossible
public StateTransitionResult.TransitionImpossible isTransitionToPossible(WalkStateGraphContext walkStateGraphContext) throws SmackException
Description copied from class:State
Check if the state should be activated.- Overrides:
isTransitionToPossible
in classState
- Parameters:
walkStateGraphContext
- the context of the current state graph walk.- Returns:
null
if the state should be activated.- Throws:
SmackException
- in case a Smack exception occurs.
-
-