public abstract class AbstractXmppStateMachineConnection.State extends Object
Modifier | Constructor and Description |
---|---|
protected |
State(StateDescriptor stateDescriptor) |
Modifier and Type | Method and Description |
---|---|
protected AbstractXmppStateMachineConnection.TransitionImpossibleReason |
isTransitionToPossible()
Check if the state should be activated.
|
protected void |
resetState() |
String |
toString() |
protected abstract AbstractXmppStateMachineConnection.TransitionFailedReason |
transitionInto(LoginContext loginContext) |
protected State(StateDescriptor stateDescriptor)
protected AbstractXmppStateMachineConnection.TransitionImpossibleReason isTransitionToPossible() throws SmackException
null
if the state should be activated.SmackException
- in case a Smack exception occurs.protected abstract AbstractXmppStateMachineConnection.TransitionFailedReason transitionInto(LoginContext loginContext) throws XMPPException.XMPPErrorException, SASLErrorException, IOException, SmackException, InterruptedException, XMPPException.FailedNonzaException
protected void resetState()