|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
se.lth.cs.realtime.event.RTEvent
se.lth.cs.realtime.event.ActivityEvent
Generic type of event which informs about normal changes or advancement
of thread execution, such as changed period, changed priority, suspension,
new sample, etc. An ActivityEvent
is seldom expected to
be used directly; subclasses are expected to provide desired dedicated
functionality.
License
,
Serialized FormField Summary |
Fields inherited from class se.lth.cs.realtime.event.RTEvent |
owner, ticker, timestamp |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
ActivityEvent()
Like the default RTEvent constructor, which uses the current
(RT)Thread as the source. |
|
ActivityEvent(Activity source)
Constructs an ActivityEvent object with the specified
source activity, set as the source of this event. |
|
ActivityEvent(Activity source,
long ts)
Create a new event with both source and time set. |
|
ActivityEvent(Activity source,
long ts,
Timebase timebase)
Constructs an activity-event object with the specified source object and time-stamp with respect to the specified time-base. |
|
ActivityEvent(long ts)
The new event gets the time stamp according to ts . |
Methods inherited from class se.lth.cs.realtime.event.RTEvent |
getMillis, getNanos, getOwner, getSeconds, getTicks, getTimebase, paramString, setOwner, 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 |
Constructor Detail |
public ActivityEvent()
RTEvent
constructor, which uses the current
(RT)Thread as the source.
public ActivityEvent(Activity source)
ActivityEvent
object with the specified
source activity, set as the source of this event.
source
- the thread or process where the event originated.public ActivityEvent(Activity source, long ts)
source
- the thread or process where the event originated.ts
- the time stamp in milliseconds of current system time.public ActivityEvent(Activity source, long ts, Timebase timebase)
source
- the object where the event originated.ts
- the time from which the event originates.timebase
- the base of time in which the time stamp is expressed.public ActivityEvent(long ts)
ts
.
ts
- the time stamp in milliseconds of current system time.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |