public abstract class AbstractXmppStateMachineConnection.State
extends java.lang.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() |
java.lang.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, java.io.IOException, SmackException, java.lang.InterruptedException, XMPPException.FailedNonzaException
XMPPException.XMPPErrorException
SASLErrorException
java.io.IOException
SmackException
java.lang.InterruptedException
XMPPException.FailedNonzaException
protected void resetState()
public java.lang.String toString()
toString
in class java.lang.Object