| java.lang.Object org.apache.mina.statemachine.event.Event
Event | public class Event (Code) | | Represents an event which typically corresponds to a method call on a proxy.
An event has an id and zero or more arguments typically corresponding to
the method arguments.
author: The Apache MINA Project (dev@mina.apache.org) version: $Rev: 586695 $, $Date: 2007-10-20 04:01:17 -0600 (Sat, 20 Oct 2007) $ |
WILDCARD_EVENT_ID | final public static String WILDCARD_EVENT_ID(Code) | | |
Event | public Event(Object id, StateContext context)(Code) | | Creates a new
Event with the specified id and no arguments.
Parameters: id - the event id. Parameters: context - the StateContext the event was triggered for. |
Event | public Event(Object id, StateContext context, Object[] arguments)(Code) | | Creates a new
Event with the specified id and arguments.
Parameters: id - the event id. Parameters: context - the StateContext the event was triggered for. Parameters: arguments - the event arguments. |
getArguments | public Object[] getArguments()(Code) | | Returns the arguments of this
Event .
the arguments. Returns an empty array if this Event has no arguments. |
|
|