public class Event extends Message
| Modifier and Type | Class and Description |
|---|---|
static class |
Event.Type
Event types
|
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Object |
dest
Destination (optional, nullable)
|
private java.lang.Object |
source
Source
|
private Event.Type |
type
Event type
|
| Constructor and Description |
|---|
Event(Event.Type type,
java.lang.Object object,
java.lang.Object source)
Constructor
|
Event(Event.Type type,
java.lang.Object object,
java.lang.Object source,
java.lang.Object dest)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getDest()
Get source
|
java.lang.Object |
getSource()
Get source
|
Event.Type |
getType()
Get event type
|
java.lang.String |
toString() |
private final Event.Type type
private final java.lang.Object source
private final java.lang.Object dest
public Event(Event.Type type, java.lang.Object object, java.lang.Object source, java.lang.Object dest)
type - event typeobject - object attached to eventsource - source objectdest - dest objectpublic Event(Event.Type type, java.lang.Object object, java.lang.Object source)
type - event typeobject - object attached to eventsource - source objectpublic java.lang.Object getSource()
public java.lang.Object getDest()
public Event.Type getType()
public java.lang.String toString()
toString in class java.lang.Object