Package | Description |
---|---|
org.apache.mina.statemachine.context | |
org.apache.mina.statemachine.event | |
org.apache.mina.statemachine.transition |
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(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 |
SingletonStateContextLookup.lookup(Object[] eventArgs) |
StateContext |
StateContextLookup.lookup(Object[] eventArgs)
Searches the arguments from an
Event and returns a
StateContext if any of the arguments holds one. |
StateContext |
AbstractStateContextLookup.lookup(Object[] eventArgs) |
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. |
Modifier and Type | Method and Description |
---|---|
StateContext |
Event.getContext() |
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)
Creates a new
Event from the specified method and method
arguments. |
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. |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
AbstractSelfTransition.doExecute(StateContext stateContext,
State state)
Executes this
SelfTransition . |
boolean |
MethodSelfTransition.doExecute(StateContext stateContext,
State state)
Executes this
SelfTransition . |
boolean |
AbstractSelfTransition.execute(StateContext stateContext,
State state)
Executes this
SelfTransition . |
boolean |
SelfTransition.execute(StateContext stateContext,
State state)
Executes this
SelfTransition . |
Copyright © 2004–2021 Apache MINA Project. All rights reserved.