org.jboss.remoting.transport.multiplex
Class InputMultiplexor.InputThread

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.jboss.remoting.transport.multiplex.utility.StoppableThread
          extended byorg.jboss.remoting.transport.multiplex.InputMultiplexor.InputThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
InputMultiplexor

public static class InputMultiplexor.InputThread
extends StoppableThread


Field Summary
 
Fields inherited from class org.jboss.remoting.transport.multiplex.utility.StoppableThread
running, stopped, terminatedOnError
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
InputMultiplexor.InputThread(MultiplexingManager manager, java.net.Socket socket, java.io.OutputStream os)
           
 
Method Summary
protected  void doInit()
           
protected  void doRun()
           
protected  void doShutDown()
           
protected  void flushPipes()
           
protected  void handleError(java.lang.String error, java.lang.Throwable e)
           
 void shutdown()
           
protected  void stayAlive()
           
 
Methods inherited from class org.jboss.remoting.transport.multiplex.utility.StoppableThread
isRunning, isStopped, 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

InputMultiplexor.InputThread

public InputMultiplexor.InputThread(MultiplexingManager manager,
                                    java.net.Socket socket,
                                    java.io.OutputStream os)
                             throws java.io.IOException
Method Detail

shutdown

public void shutdown()
Overrides:
shutdown in class StoppableThread

doInit

protected void doInit()
Specified by:
doInit in class StoppableThread

doRun

protected void doRun()
Specified by:
doRun in class StoppableThread

doShutDown

protected void doShutDown()
Specified by:
doShutDown in class StoppableThread

handleError

protected void handleError(java.lang.String error,
                           java.lang.Throwable e)
Parameters:
error -
e -

stayAlive

protected void stayAlive()

flushPipes

protected void flushPipes()


Copyright ? 1998-2005 JBoss Inc . All Rights Reserved.