|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Revision(value="$Revision: 1.6 $",
date="$Date: 2006/12/15 20:37:49 $",
tag="$Name: $")
public interface Event
An instance of this interface encapsulates some kind of meaningful
sequenced event from a source.
This interface is the basis of the rcf.core.concurrent.events package,
and is widely used. For more information about the various kinds of events,
please check the interfaces and classes which inherit from this one.
TODO: Javadoc review, Seal/Finalize
| Method Summary | |
|---|---|
int |
getEventSequenceNumber()
Get the sequence number of this event relative to it's source(). |
boolean |
isCancelled()
Test if this event has been cancelled. |
EventSource |
source()
Get the EventSource this event was generated from. |
| Method Detail |
|---|
int getEventSequenceNumber()
source().
source().EventSource source()
EventSource this event was generated from.
EventSource this event was generated from.boolean isCancelled()
This is used in conjunction with
Transaction.abort(). The return
value from this method has no meaning outside of the event syndicate
reporting loop. Often this method will simply return
.
Task.taskState() == Task.State.Aborted
true if this event has been cancelled, and no longer
needs to be reported.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||