|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hypercast.events.NOTIFICATION_EVENT
This class defines a NOTIFICATION_EVENT. It is the root of event hierarchy and is extended by all other notification events. When an interesting event happens, a NOTIFICATION_EVENT object is created and put into the event queue of a NotificationHandler object. The NotificationHandler object reads events from the queue and processes them.
Constructor Summary | |
NOTIFICATION_EVENT(long timestamp,
java.lang.Object info)
Constructs an event with the given timestamp and meta data. |
Method Summary | |
java.lang.Object |
getInfo()
Gets the information stored in this event. |
long |
getTimestamp()
Gets the timestamp of the event. |
void |
setInfo(java.lang.Object info)
Sets information stored about this event. |
void |
setTimestamp(long timestamp)
Sets timestamp of the event. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NOTIFICATION_EVENT(long timestamp, java.lang.Object info)
Method Detail |
public long getTimestamp()
public void setTimestamp(long timestamp)
public java.lang.Object getInfo()
public void setInfo(java.lang.Object info)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |