Package org.jivesoftware.smack.fsm
Class StateDescriptor
- java.lang.Object
-
- org.jivesoftware.smack.fsm.StateDescriptor
-
- Direct Known Subclasses:
Bind2Module.Bind2StateDescriptor
,CompressionModule.CompressionStateDescriptor
,InstantStreamResumptionModule.InstantStreamResumptionStateDescriptor
,ModularXmppClientToServerConnection.AuthenticatedAndResourceBoundStateDescriptor
,ModularXmppClientToServerConnection.AuthenticatedButUnboundStateDescriptor
,ModularXmppClientToServerConnection.ConnectedButUnauthenticatedStateDescriptor
,ModularXmppClientToServerConnection.DisconnectedStateDescriptor
,ModularXmppClientToServerConnection.LookupRemoteConnectionEndpointsStateDescriptor
,ModularXmppClientToServerConnection.ResourceBindingStateDescriptor
,ModularXmppClientToServerConnection.SaslAuthenticationStateDescriptor
,StreamManagementModule.EnableStreamManagementStateDescriptor
,StreamManagementModule.ResumeStreamStateDescriptor
public abstract class StateDescriptor extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StateDescriptor.Property
-
Constructor Summary
Constructors Modifier Constructor Description protected
StateDescriptor()
protected
StateDescriptor(Class<? extends State> stateClass)
protected
StateDescriptor(Class<? extends State> stateClass, int xepNum)
protected
StateDescriptor(Class<? extends State> stateClass, int xepNum, StateDescriptor.Property... properties)
protected
StateDescriptor(Class<? extends State> stateClass, String rfcSection)
protected
StateDescriptor(Class<? extends State> stateClass, StateDescriptor.Property... properties)
protected
StateDescriptor(StateDescriptor.Property... properties)
-
Method Summary
-
-
-
Constructor Detail
-
StateDescriptor
protected StateDescriptor()
-
StateDescriptor
protected StateDescriptor(StateDescriptor.Property... properties)
-
StateDescriptor
protected StateDescriptor(Class<? extends State> stateClass)
-
StateDescriptor
protected StateDescriptor(Class<? extends State> stateClass, StateDescriptor.Property... properties)
-
StateDescriptor
protected StateDescriptor(Class<? extends State> stateClass, int xepNum)
-
StateDescriptor
protected StateDescriptor(Class<? extends State> stateClass, int xepNum, StateDescriptor.Property... properties)
-
StateDescriptor
protected StateDescriptor(Class<? extends State> stateClass, String rfcSection)
-
-
Method Detail
-
addSuccessor
protected void addSuccessor(Class<? extends StateDescriptor> successor)
-
addPredeccessor
public void addPredeccessor(Class<? extends StateDescriptor> predeccessor)
-
declarePrecedenceOver
protected void declarePrecedenceOver(Class<? extends StateDescriptor> subordinate)
-
declarePrecedenceOver
protected void declarePrecedenceOver(String subordinate)
-
declareInferiorityTo
protected void declareInferiorityTo(Class<? extends StateDescriptor> superior)
-
declareInferiorityTo
protected void declareInferiorityTo(String superior)
-
getSuccessors
public Set<Class<? extends StateDescriptor>> getSuccessors()
-
getPredeccessors
public Set<Class<? extends StateDescriptor>> getPredeccessors()
-
getSubordinates
public Set<Class<? extends StateDescriptor>> getSubordinates()
-
getSuperiors
public Set<Class<? extends StateDescriptor>> getSuperiors()
-
getStateName
public String getStateName()
-
getFullStateName
public String getFullStateName(boolean breakStateName)
-
getReference
public String getReference()
-
getStateClass
public Class<? extends State> getStateClass()
-
isMultiVisitState
public boolean isMultiVisitState()
-
isNotImplemented
public boolean isNotImplemented()
-
isFinalState
public boolean isFinalState()
-
constructState
protected State constructState(ModularXmppClientToServerConnectionInternal connectionInternal)
-
-