程序包 | 说明 |
---|---|
org.apache.mina.example.tapedeck | |
org.apache.mina.statemachine.context | |
org.apache.mina.statemachine.event | |
org.apache.mina.statemachine.transition |
限定符和类型 | 方法和说明 |
---|---|
void |
TapeDeckServer.error(Event event,
StateContext context,
IoSession session,
Command cmd) |
限定符和类型 | 类和说明 |
---|---|
class |
AbstractStateContext
Abstract
StateContext which uses a Map to store the
attributes. |
class |
DefaultStateContext
Default
StateContext implementation. |
限定符和类型 | 方法和说明 |
---|---|
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 |
StateContextLookup.lookup(java.lang.Object[] eventArgs)
Searches the arguments from an
Event and returns a
StateContext if any of the arguments holds one. |
StateContext |
SingletonStateContextLookup.lookup(java.lang.Object[] eventArgs) |
StateContext |
AbstractStateContextLookup.lookup(java.lang.Object[] eventArgs) |
限定符和类型 | 方法和说明 |
---|---|
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. |
限定符和类型 | 方法和说明 |
---|---|
StateContext |
Event.getContext() |
限定符和类型 | 方法和说明 |
---|---|
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) |
构造器和说明 |
---|
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. |
限定符和类型 | 方法和说明 |
---|---|
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)
Executes this
SelfTransition . |