|
Voyager ORB | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectspace.lib.timer.TimerListenerThread
A TimerListenerThread is a TimerListener that uses a new thread object to invoke timerExpired() on another associated TimerListener.
TimerListener
Constructor Summary | |
TimerListenerThread(TimerListener listener)
Construct myself to notify the specified listener with a thread of the current priority. |
|
TimerListenerThread(TimerListener listener,
int priority)
Construct myself to notify the specified listener with a thread of the specified priority. |
Method Summary | |
void |
timerExpired(TimerEvent event)
A timer expired and generated a timer event. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TimerListenerThread(TimerListener listener)
listener
- The timer listener than I should notify.public TimerListenerThread(TimerListener listener, int priority)
listener
- The timer listener than I should notify.priority
- The priority of the thread to use for notification.Method Detail |
public void timerExpired(TimerEvent event)
event
- The timer event.
|
ObjectSpace Inc. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |