public class Event extends Object
Modifier and Type | Field and Description |
---|---|
static String |
WILDCARD_EVENT_ID |
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. |
public static final String WILDCARD_EVENT_ID
public Event(Object id, StateContext context)
Event
with the specified id and no arguments.id
- the event id.context
- the StateContext
the event was triggered for.public Event(Object id, StateContext context, Object[] arguments)
Event
with the specified id and arguments.id
- the event id.context
- the StateContext
the event was triggered for.arguments
- the event arguments.public StateContext getContext()
StateContext
this Event
was triggered for.public Object[] getArguments()
Copyright © 2004–2016 Apache MINA Project. All rights reserved.