org.objectweb.tribe.channel.tcp
Class TcpReaderThread

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.objectweb.tribe.channel.tcp.TcpReaderThread
All Implemented Interfaces:
java.lang.Runnable

public class TcpReaderThread
extends java.lang.Thread

This class defines a TcpReaderThread.

This thread reads messages from a TCP connection and store them in the appropriate receive buffers.

Version:
1.0
Author:
Emmanuel Cecchet

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
TcpReaderThread(TcpChannel channel, java.util.HashMap keyBuffers)
          Creates a new TcpReaderThread object
 
Method Summary
 void kill()
          Terminates this thread
 void run()
           
 
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

TcpReaderThread

public TcpReaderThread(TcpChannel channel,
                       java.util.HashMap keyBuffers)
Creates a new TcpReaderThread object

Parameters:
keyBuffers - list of pool receive buffers
Method Detail

run

public void run()
See Also:
Runnable.run()

kill

public void kill()
Terminates this thread



Copyright © 2004 - ObjectWeb Consortium - All Rights Reserved.