|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.walluck.oscar.ReceiveQueueThread
The thread that handles receiving incoming packets.
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
ReceiveQueueThread(AIMSession sess,
AIMConnection conn)
Creates a new receive queue thread. |
Method Summary | |
void |
flush()
Flush the queue. |
void |
run()
The run method for the receive queue thread. |
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 ReceiveQueueThread(AIMSession sess, AIMConnection conn)
sess
- the oscar sessionconn
- the connection for this sessionMethod Detail |
public void flush()
public void run()
This handles an incoming frame, if one is present, or else it sleeps for the harcoded amount of milliseconds (I don't see any advantage to being able to change the sleep time).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |