public interface EventFactory
StateMachineProxyBuilder
to create Event
objects when
methods are invoked on the proxy.Modifier and Type | Method and Description |
---|---|
Event |
create(StateContext context,
java.lang.reflect.Method method,
java.lang.Object[] arguments)
Creates a new
Event from the specified method and method
arguments. |
Event create(StateContext context, java.lang.reflect.Method method, java.lang.Object[] arguments)
Event
from the specified method and method
arguments.context
- the current StateContext
.method
- the method being invoked.args
- the method arguments.Event
object.Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.