Skip navigation links
A B C D E G H I L M N O R S T U V W 

A

AbstractSelfTransition - Class in org.apache.mina.statemachine.transition
Abstract SelfTransition implementation.
AbstractSelfTransition() - Constructor for class org.apache.mina.statemachine.transition.AbstractSelfTransition
Creates a new instance
AbstractStateContext - Class in org.apache.mina.statemachine.context
Abstract StateContext which uses a Map to store the attributes.
AbstractStateContext() - Constructor for class org.apache.mina.statemachine.context.AbstractStateContext
 
AbstractStateContextLookup - Class in org.apache.mina.statemachine.context
Abstract StateContextLookup implementation.
AbstractStateContextLookup(StateContextFactory) - Constructor for class org.apache.mina.statemachine.context.AbstractStateContextLookup
Creates a new instance which uses the specified StateContextFactory to create StateContext objects.
AbstractTransition - Class in org.apache.mina.statemachine.transition
Abstract Transition implementation.
AbstractTransition(Object) - Constructor for class org.apache.mina.statemachine.transition.AbstractTransition
Creates a new instance which will loopback to the same State for the specified Event id.
AbstractTransition(Object, State) - Constructor for class org.apache.mina.statemachine.transition.AbstractTransition
Creates a new instance with the specified State as next state and for the specified Event id.
AbstractTransition(State) - Constructor for class org.apache.mina.statemachine.transition.AbstractTransition
Creates a new instance with the specified State as next state and for the wild card Event id.
AbstractTransition() - Constructor for class org.apache.mina.statemachine.transition.AbstractTransition
Creates a new instance with a reflexive State as next state and for the wild card Event id.
addTransition(Transition) - Method in class org.apache.mina.statemachine.State
Adds an outgoing Transition to this State with weight 0.
addTransition(Transition, int) - Method in class org.apache.mina.statemachine.State
Adds an outgoing Transition to this State with the specified weight.
AmbiguousMethodException - Exception in org.apache.mina.statemachine.transition
Thrown by the constructors in MethodTransition if there are several methods with the specifed name in the target object's class.
AmbiguousMethodException(String) - Constructor for exception org.apache.mina.statemachine.transition.AmbiguousMethodException
Creates a new instance using the specified method name as message.

B

breakAndCallNext(String) - Static method in class org.apache.mina.statemachine.StateControl
Breaks the execution of the current Transition and lets the State with the specified id handle the next Event.
breakAndCallNext(String, String) - Static method in class org.apache.mina.statemachine.StateControl
Breaks the execution of the current Transition and lets the State with the specified id handle the next Event.
breakAndCallNow(String) - Static method in class org.apache.mina.statemachine.StateControl
Breaks the execution of the current Transition and lets the State with the specified id handle the current Event.
breakAndCallNow(String, String) - Static method in class org.apache.mina.statemachine.StateControl
Breaks the execution of the current Transition and lets the State with the specified id handle the current Event.
breakAndContinue() - Static method in class org.apache.mina.statemachine.StateControl
Breaks the execution of the current Transition and tries to find another Transition with higher weight or a Transition of a parent State which can handle the current Event.
breakAndGotoNext(String) - Static method in class org.apache.mina.statemachine.StateControl
Breaks the execution of the current Transition and lets the State with the specified id handle the next Event.
breakAndGotoNow(String) - Static method in class org.apache.mina.statemachine.StateControl
Breaks the execution of the current Transition and lets the State with the specified id handle the current Event.
breakAndReturnNext() - Static method in class org.apache.mina.statemachine.StateControl
Breaks the execution of the current Transition and lets the last recorded State handle the next Event.
breakAndReturnNow() - Static method in class org.apache.mina.statemachine.StateControl
Breaks the execution of the current Transition and lets the last recorded State handle the current Event.
BreakException - Exception in org.apache.mina.statemachine
The base exception of the exceptions thrown by the methods in the StateControl class.
BreakException() - Constructor for exception org.apache.mina.statemachine.BreakException
 

C

create() - Method in class org.apache.mina.statemachine.context.DefaultStateContextFactory
 
create() - Method in interface org.apache.mina.statemachine.context.StateContextFactory
Creates a new StateContext.
create(StateContext, Method, Object[]) - Method in class org.apache.mina.statemachine.event.DefaultEventFactory
Creates a new Event from the specified method and method arguments.
create(StateContext, Method, Object[]) - Method in interface org.apache.mina.statemachine.event.EventFactory
Creates a new Event from the specified method and method arguments.
create(Object) - Method in class org.apache.mina.statemachine.StateMachineFactory
Creates a new StateMachine from the specified handler object and using a start state with id start.
create(String, Object) - Method in class org.apache.mina.statemachine.StateMachineFactory
Creates a new StateMachine from the specified handler object and using the State with the specified id as start state.
create(Object, Object...) - Method in class org.apache.mina.statemachine.StateMachineFactory
Creates a new StateMachine from the specified handler objects and using a start state with id start.
create(String, Object, Object...) - Method in class org.apache.mina.statemachine.StateMachineFactory
Creates a new StateMachine from the specified handler objects and using the State with the specified id as start state.
create(Class<T>, StateMachine) - Method in class org.apache.mina.statemachine.StateMachineProxyBuilder
Creates a proxy for the specified interface and which uses the specified StateMachine.
create(Class<?>[], StateMachine) - Method in class org.apache.mina.statemachine.StateMachineProxyBuilder
Creates a proxy for the specified interfaces and which uses the specified StateMachine.

D

DEFAULT_SESSION_ATTRIBUTE_NAME - Static variable in class org.apache.mina.statemachine.context.IoSessionStateContextLookup
The default name of the IoSession attribute used to store the StateContext object.
DefaultEventFactory - Class in org.apache.mina.statemachine.event
Default EventFactory implementation.
DefaultEventFactory() - Constructor for class org.apache.mina.statemachine.event.DefaultEventFactory
 
DefaultStateContext - Class in org.apache.mina.statemachine.context
Default StateContext implementation.
DefaultStateContext() - Constructor for class org.apache.mina.statemachine.context.DefaultStateContext
 
DefaultStateContextFactory - Class in org.apache.mina.statemachine.context
DefaultStateContextFactory() - Constructor for class org.apache.mina.statemachine.context.DefaultStateContextFactory
 
doExecute(StateContext, State) - Method in class org.apache.mina.statemachine.transition.AbstractSelfTransition
Executes this SelfTransition.
doExecute(Event) - Method in class org.apache.mina.statemachine.transition.AbstractTransition
Executes this Transition.
doExecute(StateContext, State) - Method in class org.apache.mina.statemachine.transition.MethodSelfTransition
Executes this SelfTransition.
doExecute(Event) - Method in class org.apache.mina.statemachine.transition.MethodTransition
Executes this Transition.
doExecute(Event) - Method in class org.apache.mina.statemachine.transition.NoopTransition
Executes this Transition.

E

equals(Object) - Method in class org.apache.mina.statemachine.State
equals(Object) - Method in class org.apache.mina.statemachine.transition.AbstractTransition
 
equals(Object) - Method in class org.apache.mina.statemachine.transition.MethodTransition
 
Event - Class in org.apache.mina.statemachine.event
Represents an event which typically corresponds to a method call on a proxy.
Event(Object, StateContext) - Constructor for class org.apache.mina.statemachine.event.Event
Creates a new Event with the specified id and no arguments.
Event(Object, StateContext, Object[]) - Constructor for class org.apache.mina.statemachine.event.Event
Creates a new Event with the specified id and arguments.
EventArgumentsInterceptor - Interface in org.apache.mina.statemachine.event
Intercepts the Event arguments before the Event is passed to the StateMachine and allows for the arguments to be modified.
EventFactory - Interface in org.apache.mina.statemachine.event
Used by StateMachineProxyBuilder to create Event objects when methods are invoked on the proxy.
execute(StateContext, State) - Method in class org.apache.mina.statemachine.transition.AbstractSelfTransition
Executes this SelfTransition.
execute(Event) - Method in class org.apache.mina.statemachine.transition.AbstractTransition
Executes this Transition.
execute(StateContext, State) - Method in interface org.apache.mina.statemachine.transition.SelfTransition
Executes this SelfTransition.
execute(Event) - Method in interface org.apache.mina.statemachine.transition.Transition
Executes this Transition.

G

getArguments() - Method in class org.apache.mina.statemachine.event.Event
 
getAttribute(Object) - Method in class org.apache.mina.statemachine.context.AbstractStateContext
Returns the value of the attribute with the specified key or nullif not found.
getAttribute(Object) - Method in interface org.apache.mina.statemachine.context.StateContext
Returns the value of the attribute with the specified key or nullif not found.
getAttributes() - Method in class org.apache.mina.statemachine.context.AbstractStateContext
 
getContext() - Method in class org.apache.mina.statemachine.event.Event
 
getCurrentState() - Method in class org.apache.mina.statemachine.context.AbstractStateContext
getCurrentState() - Method in interface org.apache.mina.statemachine.context.StateContext
 
getEvent() - Method in exception org.apache.mina.statemachine.event.UnhandledEventException
 
getId() - Method in class org.apache.mina.statemachine.event.Event
 
getId() - Method in class org.apache.mina.statemachine.State
 
getInstance(Class<? extends Annotation>) - Static method in class org.apache.mina.statemachine.StateMachineFactory
Returns a new StateMachineFactory instance which creates StateMachines by reading the specified Transition equivalent annotation.
getMethod() - Method in class org.apache.mina.statemachine.transition.MethodSelfTransition
 
getMethod() - Method in class org.apache.mina.statemachine.transition.MethodTransition
 
getNextState() - Method in class org.apache.mina.statemachine.transition.AbstractTransition
getNextState() - Method in interface org.apache.mina.statemachine.transition.Transition
 
getOnEntrySelfTransitions() - Method in class org.apache.mina.statemachine.State
 
getOnExitSelfTransitions() - Method in class org.apache.mina.statemachine.State
 
getParent() - Method in class org.apache.mina.statemachine.State
 
getState(String) - Method in class org.apache.mina.statemachine.StateMachine
Returns the State with the specified id.
getStates() - Method in class org.apache.mina.statemachine.StateMachine
 
getTarget() - Method in class org.apache.mina.statemachine.transition.MethodTransition
 
getTransitions() - Method in class org.apache.mina.statemachine.State
 

H

handle(Event) - Method in class org.apache.mina.statemachine.StateMachine
Processes the specified Event through this StateMachine.
hashCode() - Method in class org.apache.mina.statemachine.State
hashCode() - Method in class org.apache.mina.statemachine.transition.AbstractTransition
 
hashCode() - Method in class org.apache.mina.statemachine.transition.MethodTransition
 

I

IoFilterEvents - Enum in org.apache.mina.statemachine.event
Defines all possible MINA IoFilter events for use in IoFilterTransition annotations.
IoFilterTransition - Annotation Type in org.apache.mina.statemachine.annotation
Annotation used on methods to indicate that the method handles a specific kind of IoFilterEvents event when in a specific state.
IoFilterTransitions - Annotation Type in org.apache.mina.statemachine.annotation
Annotation used to annotate a method with several IoFilterTransitions.
IoHandlerEvents - Enum in org.apache.mina.statemachine.event
Defines all possible MINA IoHandler events for use in IoHandlerTransition annotations.
IoHandlerTransition - Annotation Type in org.apache.mina.statemachine.annotation
Annotation used on methods to indicate that the method handles a specific kind of IoHandlerEvents event when in a specific state.
IoHandlerTransitions - Annotation Type in org.apache.mina.statemachine.annotation
Annotation used to annotate a method with several IoHandlerTransitions.
IoSessionStateContextLookup - Class in org.apache.mina.statemachine.context
MINA specific StateContextLookup which uses an IoSession attribute to store the StateContextLookup.
IoSessionStateContextLookup() - Constructor for class org.apache.mina.statemachine.context.IoSessionStateContextLookup
Creates a new instance using a DefaultStateContextFactory to create StateContext objects for new IoSessions.
IoSessionStateContextLookup(String) - Constructor for class org.apache.mina.statemachine.context.IoSessionStateContextLookup
Creates a new instance using a DefaultStateContextFactory to create StateContext objects for new IoSessions.
IoSessionStateContextLookup(StateContextFactory) - Constructor for class org.apache.mina.statemachine.context.IoSessionStateContextLookup
Creates a new instance using the specified StateContextFactory to create StateContext objects for new IoSessions.
IoSessionStateContextLookup(StateContextFactory, String) - Constructor for class org.apache.mina.statemachine.context.IoSessionStateContextLookup
Creates a new instance using the specified StateContextFactory to create StateContext objects for new IoSessions.

L

lookup(Object[]) - Method in class org.apache.mina.statemachine.context.AbstractStateContextLookup
 
lookup(Object) - Method in class org.apache.mina.statemachine.context.AbstractStateContextLookup
Extracts a StateContext from the specified event argument which is an instance of a class AbstractStateContextLookup.supports(Class) returns true for.
lookup(Object) - Method in class org.apache.mina.statemachine.context.IoSessionStateContextLookup
 
lookup(Object[]) - Method in class org.apache.mina.statemachine.context.SingletonStateContextLookup
 
lookup(Object[]) - Method in interface org.apache.mina.statemachine.context.StateContextLookup
Searches the arguments from an Event and returns a StateContext if any of the arguments holds one.

M

MethodInvocationException - Exception in org.apache.mina.statemachine.transition
Thrown by MethodTransition if the target method couldn't be invoked or threw an exception.
MethodInvocationException(Method, Throwable) - Constructor for exception org.apache.mina.statemachine.transition.MethodInvocationException
Creates a new instance for the specified Method and Throwable.
MethodSelfTransition - Class in org.apache.mina.statemachine.transition
SelfTransition which invokes a Method.
MethodSelfTransition(Method, Object) - Constructor for class org.apache.mina.statemachine.transition.MethodSelfTransition
Creates a new MethodSelfTransition instance
MethodSelfTransition(String, Object) - Constructor for class org.apache.mina.statemachine.transition.MethodSelfTransition
Creates a new instance
MethodTransition - Class in org.apache.mina.statemachine.transition
Transition which invokes a Method.
MethodTransition(Object, State, Method, Object) - Constructor for class org.apache.mina.statemachine.transition.MethodTransition
Creates a new instance with the specified State as next state and for the specified Event id.
MethodTransition(Object, Method, Object) - Constructor for class org.apache.mina.statemachine.transition.MethodTransition
Creates a new instance which will loopback to the same State for the specified Event id.
MethodTransition(Object, State, Object) - Constructor for class org.apache.mina.statemachine.transition.MethodTransition
Creates a new instance with the specified State as next state and for the specified Event id.
MethodTransition(Object, Object) - Constructor for class org.apache.mina.statemachine.transition.MethodTransition
Creates a new instance which will loopback to the same State for the specified Event id.
MethodTransition(Object, String, Object) - Constructor for class org.apache.mina.statemachine.transition.MethodTransition
Creates a new instance which will loopback to the same State for the specified Event id.
MethodTransition(Object, State, String, Object) - Constructor for class org.apache.mina.statemachine.transition.MethodTransition
Creates a new instance with the specified State as next state and for the specified Event id.
modify(Object[]) - Method in interface org.apache.mina.statemachine.event.EventArgumentsInterceptor
Modifies the specified array of event arguments.

N

NoopTransition - Class in org.apache.mina.statemachine.transition
Transition implementation which does nothing but change the state.
NoopTransition(Object) - Constructor for class org.apache.mina.statemachine.transition.NoopTransition
Creates a new instance which will loopback to the same State for the specified Event id.
NoopTransition(Object, State) - Constructor for class org.apache.mina.statemachine.transition.NoopTransition
Creates a new instance with the specified State as next state and for the specified Event id.
NoSuchMethodException - Exception in org.apache.mina.statemachine.transition
NoSuchMethodException(String) - Constructor for exception org.apache.mina.statemachine.transition.NoSuchMethodException
Creates a new instance using the specified method name as message.
NoSuchStateException - Exception in org.apache.mina.statemachine
Exception thrown by StateMachine when a transition in the state machine references a state which doesn't exist.
NoSuchStateException(String) - Constructor for exception org.apache.mina.statemachine.NoSuchStateException
Creates a new instance.

O

OnEntry - Annotation Type in org.apache.mina.statemachine.annotation
Annotation used on methods to indicate that the method will be executed before entering a certain state
OnExit - Annotation Type in org.apache.mina.statemachine.annotation
Annotation used on methods to indicate that the method will be executed before existing from a certain state
org.apache.mina.statemachine - package org.apache.mina.statemachine
 
org.apache.mina.statemachine.annotation - package org.apache.mina.statemachine.annotation
 
org.apache.mina.statemachine.context - package org.apache.mina.statemachine.context
 
org.apache.mina.statemachine.event - package org.apache.mina.statemachine.event
 
org.apache.mina.statemachine.transition - package org.apache.mina.statemachine.transition
 

R

ROOT - Static variable in annotation type org.apache.mina.statemachine.annotation.State
The intial state

S

SELF - Static variable in annotation type org.apache.mina.statemachine.annotation.Transition
The self transition
SelfTransition - Interface in org.apache.mina.statemachine.transition
The interface implemented by classes which need to react on entering a certain states.
setAttribute(Object, Object) - Method in class org.apache.mina.statemachine.context.AbstractStateContext
Sets the value of the attribute with the specified key.
setAttribute(Object, Object) - Method in interface org.apache.mina.statemachine.context.StateContext
Sets the value of the attribute with the specified key.
setClassLoader(ClassLoader) - Method in class org.apache.mina.statemachine.StateMachineProxyBuilder
Sets the class loader to use for instantiating proxies.
setCurrentState(State) - Method in class org.apache.mina.statemachine.context.AbstractStateContext
Sets the current State.
setCurrentState(State) - Method in interface org.apache.mina.statemachine.context.StateContext
Sets the current State.
setEventArgumentsInterceptor(EventArgumentsInterceptor) - Method in class org.apache.mina.statemachine.StateMachineProxyBuilder
Sets the EventArgumentsInterceptor to be used.
setEventFactory(EventFactory) - Method in class org.apache.mina.statemachine.StateMachineProxyBuilder
Sets the EventFactory to be used.
setIgnoreStateContextLookupFailure(boolean) - Method in class org.apache.mina.statemachine.StateMachineProxyBuilder
Sets whether the failure to lookup a StateContext corresponding to a method call on the proxy produced by this builder will raise an exception or be silently ignored.
setIgnoreUnhandledEvents(boolean) - Method in class org.apache.mina.statemachine.StateMachineProxyBuilder
Sets whether events which have no handler in the current state will raise an exception or be silently ignored.
setName(String) - Method in class org.apache.mina.statemachine.StateMachineProxyBuilder
Sets the name of the proxy created by this builder.
setStateContextLookup(StateContextLookup) - Method in class org.apache.mina.statemachine.StateMachineProxyBuilder
Sets the StateContextLookup to be used.
SingletonStateContextLookup - Class in org.apache.mina.statemachine.context
StateContextLookup implementation which always returns the same StateContext instance.
SingletonStateContextLookup() - Constructor for class org.apache.mina.statemachine.context.SingletonStateContextLookup
Creates a new instance which always returns the same DefaultStateContext instance.
SingletonStateContextLookup(StateContextFactory) - Constructor for class org.apache.mina.statemachine.context.SingletonStateContextLookup
Creates a new instance which uses the specified StateContextFactory to create the single instance.
State - Annotation Type in org.apache.mina.statemachine.annotation
Annotation used to define the states in a state machine.
State - Class in org.apache.mina.statemachine
Represents a state in a StateMachine.
State(String) - Constructor for class org.apache.mina.statemachine.State
Creates a new State with the specified id.
State(String, State) - Constructor for class org.apache.mina.statemachine.State
Creates a new State with the specified id and parent.
StateContext - Interface in org.apache.mina.statemachine.context
StateContext objects are used to store the current State and any application specific attributes for a specific client of a StateMachine.
StateContextFactory - Interface in org.apache.mina.statemachine.context
Factory which creates StateContext instances.
StateContextLookup - Interface in org.apache.mina.statemachine.context
Lookups a StateContext from a collection of event arguments.
StateControl - Class in org.apache.mina.statemachine
Allows for programmatic control of a state machines execution.
StateControl() - Constructor for class org.apache.mina.statemachine.StateControl
 
StateMachine - Class in org.apache.mina.statemachine
Represents a complete state machine.
StateMachine(State[], String) - Constructor for class org.apache.mina.statemachine.StateMachine
Creates a new instance using the specified States and start state.
StateMachine(Collection<State>, String) - Constructor for class org.apache.mina.statemachine.StateMachine
Creates a new instance using the specified States and start state.
StateMachineCreationException - Exception in org.apache.mina.statemachine
Exception thrown by StateMachineFactory when a StateMachine could not be constructed for some reason.
StateMachineCreationException(String) - Constructor for exception org.apache.mina.statemachine.StateMachineCreationException
Creates a new instance.
StateMachineCreationException(String, Throwable) - Constructor for exception org.apache.mina.statemachine.StateMachineCreationException
/** Creates a new instance.
StateMachineFactory - Class in org.apache.mina.statemachine
Creates StateMachines by reading State, Transition and Transitions (or equivalent) and SelfTransition annotations from one or more arbitrary objects.
StateMachineFactory(Class<? extends Annotation>, Class<? extends Annotation>, Class<? extends Annotation>, Class<? extends Annotation>) - Constructor for class org.apache.mina.statemachine.StateMachineFactory
 
StateMachineProxyBuilder - Class in org.apache.mina.statemachine
Used to create proxies which will forward all method calls on them to a StateMachine.
StateMachineProxyBuilder() - Constructor for class org.apache.mina.statemachine.StateMachineProxyBuilder
Creates a new StateMachineProxyBuilder instance
store(Object, StateContext) - Method in class org.apache.mina.statemachine.context.AbstractStateContextLookup
Stores a new StateContext in the specified event argument which is an instance of a class AbstractStateContextLookup.supports(Class) returns true for.
store(Object, StateContext) - Method in class org.apache.mina.statemachine.context.IoSessionStateContextLookup
 
supports(Class<?>) - Method in class org.apache.mina.statemachine.context.AbstractStateContextLookup
Must return true for any Class that this StateContextLookup can use to store and lookup StateContext objects.
supports(Class<?>) - Method in class org.apache.mina.statemachine.context.IoSessionStateContextLookup
 

T

toString() - Method in class org.apache.mina.statemachine.context.AbstractStateContext
toString() - Method in class org.apache.mina.statemachine.event.Event
 
toString() - Method in enum org.apache.mina.statemachine.event.IoFilterEvents
 
toString() - Method in enum org.apache.mina.statemachine.event.IoHandlerEvents
 
toString() - Method in class org.apache.mina.statemachine.State
toString() - Method in class org.apache.mina.statemachine.transition.AbstractTransition
 
toString() - Method in class org.apache.mina.statemachine.transition.MethodTransition
 
Transition - Annotation Type in org.apache.mina.statemachine.annotation
Annotation used on methods to indicate that the method handles a specific kind of event when in a specific state.
Transition - Interface in org.apache.mina.statemachine.transition
The interface implemented by classes which need to react on transitions between states.
TransitionAnnotation - Annotation Type in org.apache.mina.statemachine.annotation
Annotation used to mark other annotations as being transition annotations.
Transitions - Annotation Type in org.apache.mina.statemachine.annotation
Annotation used to annotate a method with several Transitions.

U

UnhandledEventException - Exception in org.apache.mina.statemachine.event
Thrown when an Event passed to a state machine couldn't be handled.
UnhandledEventException(Event) - Constructor for exception org.apache.mina.statemachine.event.UnhandledEventException
Creates a new UnhandledEventException instance

V

valueOf(String) - Static method in enum org.apache.mina.statemachine.event.IoFilterEvents
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.mina.statemachine.event.IoHandlerEvents
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.mina.statemachine.event.IoFilterEvents
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.mina.statemachine.event.IoHandlerEvents
Returns an array containing the constants of this enum type, in the order they are declared.

W

WILDCARD_EVENT_ID - Static variable in class org.apache.mina.statemachine.event.Event
The wildcard event
A B C D E G H I L M N O R S T U V W 
Skip navigation links

Copyright © 2004–2023 Apache MINA Project. All rights reserved.