|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--org.objectweb.proactive.core.event.ProActiveEvent
Base class of all events occuring in ProActive. ProActiveEvent
provides a event type and a timestamp.
Should be subclassed to create more specific events.
EventObject
,
Serialized FormField Summary | |
static int |
GENERIC_TYPE
|
protected long |
timeStamp
The timestamp |
protected int |
type
type of the message |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
ProActiveEvent(java.lang.Object obj,
int type)
Creates a new ProActiveEvent based on the given object and type |
Method Summary | |
long |
getTimeStamp()
Returns the time this event was created |
int |
getType()
Returns the type of this event |
java.lang.String |
toString()
|
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int GENERIC_TYPE
protected int type
protected long timeStamp
Constructor Detail |
public ProActiveEvent(java.lang.Object obj, int type)
ProActiveEvent
based on the given object and type
obj
- the object originating of the eventtype
- the type of the eventMethod Detail |
public long getTimeStamp()
public int getType()
public java.lang.String toString()
toString
in class java.util.EventObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |