## Uses of Interface
org.apache.mina.statemachine.context.StateContext

- Packages that use StateContext
  Package | Description
  --- | ---
  org.apache.mina.example.tapedeck |
  org.apache.mina.statemachine.context |
  org.apache.mina.statemachine.event |
  org.apache.mina.statemachine.transition |

- - ### Uses of StateContext in org.apache.mina.example.tapedeck

    Methods in org.apache.mina.example.tapedeck with parameters of type StateContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | TapeDeckServer.`error(Event event, StateContext context, IoSession session, Command cmd)`

  - ### Uses of StateContext in org.apache.mina.statemachine.context

    Classes in org.apache.mina.statemachine.context that implement StateContext
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractStateContext` Abstract `StateContext` which uses a `Map` to store the attributes.
    `class` | `DefaultStateContext` Default `StateContext` implementation.

    Methods in org.apache.mina.statemachine.context that return StateContext
    Modifier and Type | Method and Description
    --- | ---
    `StateContext` | StateContextFactory.`create()` Creates a new `StateContext`.
    `StateContext` | DefaultStateContextFactory.`create()`
    `protected StateContext` | IoSessionStateContextLookup.`lookup(Object eventArg)`
    `protected abstract StateContext` | AbstractStateContextLookup.`lookup(Object eventArg)` Extracts a `StateContext` from the specified event argument which is an instance of a class `AbstractStateContextLookup.supports(Class)` returns `true` for.
    `StateContext` | StateContextLookup.`lookup(Object[] eventArgs)` Searches the arguments from an `Event` and returns a `StateContext` if any of the arguments holds one.
    `StateContext` | SingletonStateContextLookup.`lookup(Object[] eventArgs)`
    `StateContext` | AbstractStateContextLookup.`lookup(Object[] eventArgs)`

    Methods in org.apache.mina.statemachine.context with parameters of type StateContext
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | IoSessionStateContextLookup.`store(Object eventArg, StateContext context)`
    `protected abstract void` | AbstractStateContextLookup.`store(Object eventArg, StateContext context)` Stores a new `StateContext` in the specified event argument which is an instance of a class `AbstractStateContextLookup.supports(Class)` returns `true` for.

  - ### Uses of StateContext in org.apache.mina.statemachine.event

    Methods in org.apache.mina.statemachine.event that return StateContext
    Modifier and Type | Method and Description
    --- | ---
    `StateContext` | Event.`getContext()` Returns the `StateContext` this `Event` was triggered for.

    Methods in org.apache.mina.statemachine.event with parameters of type StateContext
    Modifier and Type | Method and Description
    --- | ---
    `Event` | EventFactory.`create(StateContext context, Method method, Object[] arguments)` Creates a new `Event` from the specified method and method arguments.
    `Event` | DefaultEventFactory.`create(StateContext context, Method method, Object[] arguments)`

    Constructors in org.apache.mina.statemachine.event with parameters of type StateContext
    Constructor and Description
    `Event(Object id, StateContext context)` Creates a new `Event` with the specified id and no arguments.
    `Event(Object id, StateContext context, Object[] arguments)` Creates a new `Event` with the specified id and arguments.

  - ### Uses of StateContext in org.apache.mina.statemachine.transition

    Methods in org.apache.mina.statemachine.transition with parameters of type StateContext
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | MethodSelfTransition.`doExecute(StateContext stateContext, State state)`
    `protected abstract boolean` | AbstractSelfTransition.`doExecute(StateContext stateContext, State state)` Executes this `SelfTransition`.
    `boolean` | SelfTransition.`execute(StateContext stateContext, State state)` Executes this `SelfTransition`.
    `boolean` | AbstractSelfTransition.`execute(StateContext stateContext, State state)`

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