|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--com.realtime.xmpp.util.TimeoutEvent.TimeoutDaemon
Daemon to wait for events and signal handlers.
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
TimeoutEvent.TimeoutDaemon()
|
Method Summary | |
protected long |
fireEvents()
Fire all the events that have timed out. |
void |
run()
Main fire event/wait loop. |
void |
wakeup()
Force a check for timed out events. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TimeoutEvent.TimeoutDaemon()
Method Detail |
public void wakeup()
Force a check for timed out events.
public void run()
Main fire event/wait loop.
run
in interface java.lang.Runnable
run
in class java.lang.Thread
protected long fireEvents()
Fire all the events that have timed out. When there are no more events to process, the thread is signalled to stop by this method returning 0.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |