Package | Description |
---|---|
org.apache.mina.statemachine.context | |
org.apache.mina.statemachine.event |
Modifier and Type | Class and Description |
---|---|
class |
AbstractStateContext
Abstract
StateContext which uses a Map to store the
attributes. |
class |
DefaultStateContext
Default
StateContext implementation. |
Modifier and Type | Method and Description |
---|---|
StateContext |
StateContextFactory.create()
Creates a new
StateContext . |
StateContext |
DefaultStateContextFactory.create() |
protected StateContext |
IoSessionStateContextLookup.lookup(java.lang.Object eventArg) |
protected abstract StateContext |
AbstractStateContextLookup.lookup(java.lang.Object eventArg)
Extracts a
StateContext from the specified event argument which
is an instance of a class AbstractStateContextLookup.supports(Class) returns
true for. |
StateContext |
SingletonStateContextLookup.lookup(java.lang.Object[] eventArgs) |
StateContext |
StateContextLookup.lookup(java.lang.Object[] eventArgs)
Searches the arguments from an
Event and returns a
StateContext if any of the arguments holds one. |
StateContext |
AbstractStateContextLookup.lookup(java.lang.Object[] eventArgs) |
Modifier and Type | Method and Description |
---|---|
protected void |
IoSessionStateContextLookup.store(java.lang.Object eventArg,
StateContext context) |
protected abstract void |
AbstractStateContextLookup.store(java.lang.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. |
Modifier and Type | Method and Description |
---|---|
StateContext |
Event.getContext()
Returns the
StateContext this Event was triggered for. |
Modifier and Type | Method and Description |
---|---|
Event |
EventFactory.create(StateContext context,
java.lang.reflect.Method method,
java.lang.Object[] arguments)
Creates a new
Event from the specified method and method
arguments. |
Event |
DefaultEventFactory.create(StateContext context,
java.lang.reflect.Method method,
java.lang.Object[] arguments) |
Constructor and Description |
---|
Event(java.lang.Object id,
StateContext context)
Creates a new
Event with the specified id and no arguments. |
Event(java.lang.Object id,
StateContext context,
java.lang.Object[] arguments)
Creates a new
Event with the specified id and arguments. |
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.