org.walluck.oscar
Class TransmitQueueThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.walluck.oscar.TransmitQueueThread
All Implemented Interfaces:
Runnable

public class TransmitQueueThread
extends Thread

Handles sending of outgoing packets.

Since:
1.0
Version:
1.0
Author:
David Walluck

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
TransmitQueueThread(AIMSession sess, AIMConnection conn)
          Creates a new transmit queue thread.
 
Method Summary
 void flush()
          Flush the queue.
 void run()
          The transmit queue's run method.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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

TransmitQueueThread

public TransmitQueueThread(AIMSession sess,
                           AIMConnection conn)
Creates a new transmit queue thread.

Parameters:
sess - the oscar session
conn - the connection for this session
Method Detail

flush

public void flush()
Flush the queue.


run

public void run()
The transmit queue's run method.

Specified by:
run in interface Runnable
Overrides:
run in class Thread