public class Event extends Object
Modifier and Type | Field and Description |
---|---|
static String |
WILDCARD_EVENT_ID
The wildcard event
|
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. |
Modifier and Type | Method and Description |
---|---|
Object[] |
getArguments() |
StateContext |
getContext() |
Object |
getId() |
String |
toString() |
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–2021 Apache MINA Project. All rights reserved.