org.walluck.oscar
Class TransmitQueueThread

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.walluck.oscar.TransmitQueueThread
All Implemented Interfaces:
java.lang.Runnable

public class TransmitQueueThread
extends java.lang.Thread

Handles sending of outgoing packets.

Since:
1.0
Version:
1.0
Author:
David Walluck

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, 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

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.