Uses of Class
org.apache.mina.statemachine.State

Packages that use State
org.apache.mina.statemachine   
org.apache.mina.statemachine.context   
org.apache.mina.statemachine.transition   
 

Uses of State in org.apache.mina.statemachine
 

Methods in org.apache.mina.statemachine that return State
 State State.addTransition(Transition transition)
          Adds an outgoing Transition to this State with weight 0.
 State State.addTransition(Transition transition, int weight)
          Adds an outgoing Transition to this State with the specified weight.
 State State.getParent()
          Returns the parent State.
 State StateMachine.getState(String id)
          Returns the State with the specified id.
 

Methods in org.apache.mina.statemachine that return types with arguments of type State
 Collection<State> StateMachine.getStates()
          Returns an unmodifiable Collection of all States used by this StateMachine.
 

Constructors in org.apache.mina.statemachine with parameters of type State
State(String id, State parent)
          Creates a new State with the specified id and parent.
StateMachine(State[] states, String startStateId)
          Creates a new instance using the specified States and start state.
 

Constructor parameters in org.apache.mina.statemachine with type arguments of type State
StateMachine(Collection<State> states, String startStateId)
          Creates a new instance using the specified States and start state.
 

Uses of State in org.apache.mina.statemachine.context
 

Methods in org.apache.mina.statemachine.context that return State
 State StateContext.getCurrentState()
          Returns the current State.
 State AbstractStateContext.getCurrentState()
           
 

Methods in org.apache.mina.statemachine.context with parameters of type State
 void StateContext.setCurrentState(State state)
          Sets the current State.
 void AbstractStateContext.setCurrentState(State state)
           
 

Uses of State in org.apache.mina.statemachine.transition
 

Methods in org.apache.mina.statemachine.transition that return State
 State Transition.getNextState()
          Returns the State which the StateMachine should move to if this Transition is taken and Transition.execute(Event) returns true.
 State AbstractTransition.getNextState()
           
 

Constructors in org.apache.mina.statemachine.transition with parameters of type State
AbstractTransition(Object eventId, State nextState)
          Creates a new instance with the specified State as next state and for the specified Event id.
MethodTransition(Object eventId, State nextState, Method method, Object target)
          Creates a new instance with the specified State as next state and for the specified Event id.
MethodTransition(Object eventId, State nextState, Object target)
          Creates a new instance with the specified State as next state and for the specified Event id.
MethodTransition(Object eventId, State nextState, String methodName, Object target)
          Creates a new instance with the specified State as next state and for the specified Event id.
NoopTransition(Object eventId, State nextState)
          Creates a new instance with the specified State as next state and for the specified Event id.
 



Copyright © 2004-2008 Apache MINA Project. All Rights Reserved.