|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.demac.event.Event
public abstract class Event
Superclass of all events which can be used by the org.demac.event.EventService.
| Field Summary | |
|---|---|
static int |
GLOBAL_SCOPE
This constant indecates that the event can be propagated to all known devices. |
static int |
LOCAL_EVENT
This constant indecates that the event has its origin at the local device. |
static int |
LOCAL_SCOPE
This constant indecates that the event must only be propagated locally. |
static int |
PERIPERY_SCOPE
This constant indecates that the event must only be propagated to the known devices within the direct vicinity. |
static int |
REMOTE_EVENT
This constant indecates that the event has its origin at a remote device. |
| Constructor Summary | |
|---|---|
Event()
|
|
| Method Summary | |
|---|---|
abstract EventHandle |
getEventHandle()
Method to get the type of the event. |
abstract DeviceHandle |
getOriginHandle()
Method to get the origin device of the event. |
abstract java.lang.Object |
getPayload()
Method to get the payload of the event. |
abstract int |
getPriority()
Method to get the priority of the event. |
abstract int |
getScope()
Method to get the scope of the event. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int LOCAL_EVENT
public static final int REMOTE_EVENT
public static final int LOCAL_SCOPE
public static final int PERIPERY_SCOPE
public static final int GLOBAL_SCOPE
| Constructor Detail |
|---|
public Event()
| Method Detail |
|---|
public abstract DeviceHandle getOriginHandle()
public abstract EventHandle getEventHandle()
public abstract int getScope()
public abstract int getPriority()
public abstract java.lang.Object getPayload()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||