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
-
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
ModifierConstructorDescriptionprotected
AbstractTransport
(XmppClientToServerTransport transport, StateDescriptor stateDescriptor, ModularXmppClientToServerConnectionInternal connectionInternal) -
Method Summary
Modifier and TypeMethodDescriptionisTransitionToPossible
(WalkStateGraphContext walkStateGraphContext) Check if the state should be activated.Methods inherited from class org.jivesoftware.smack.fsm.State
ensureNotOnOurWayToAuthenticatedAndResourceBound, getStateDescriptor, resetState, toString, transitionInto
-
Constructor Details
-
AbstractTransport
protected AbstractTransport(XmppClientToServerTransport transport, StateDescriptor stateDescriptor, ModularXmppClientToServerConnectionInternal connectionInternal)
-
-
Method Details
-
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.
-