wtanaka.praya.gale
Class GaleReadThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--wtanaka.praya.gale.GaleReadThread
All Implemented Interfaces:
java.lang.Runnable

public class GaleReadThread
extends java.lang.Thread

Gale Read Thread, used by GaleClient.

Return to Sourceforge or the Praya Homepage

Version:
$Name: $ $Date: 2002/01/27 20:45:57 $
Author:
$Author: wtanaka $
See Also:
GaleClient

Field Summary
private  GaleClient m_client
           
private  GaleConnection m_connection
           
private  boolean m_keepGoing
           
private  Multiplexer m_multiplexer
           
 
Fields inherited from class java.lang.Thread
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ
 
Constructor Summary
GaleReadThread(GaleClient client, GaleConnection connection, Multiplexer multiplexer)
           
 
Method Summary
private  void busyWaitForAvailableInput()
          Workaround for Blackdown Linux Java 1.1.x bug.
(package private)  void disconnect()
           
 void run()
           
 
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, exit, getContextClassLoader, getName, getPriority, getThreadGroup, init, interrupt, interrupt0, interrupted, isAlive, isDaemon, isInterrupted, isInterrupted, join, join, join, nextThreadNum, registerNatives, resume, resume0, setContextClassLoader, setDaemon, setName, setPriority, setPriority0, sleep, sleep, start, stop, stop, stop0, suspend, suspend0, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_connection

private GaleConnection m_connection

m_client

private GaleClient m_client

m_multiplexer

private Multiplexer m_multiplexer

m_keepGoing

private boolean m_keepGoing
Constructor Detail

GaleReadThread

public GaleReadThread(GaleClient client,
                      GaleConnection connection,
                      Multiplexer multiplexer)
Method Detail

disconnect

void disconnect()

busyWaitForAvailableInput

private final void busyWaitForAvailableInput()
                                      throws java.io.IOException
Workaround for Blackdown Linux Java 1.1.x bug. See http://sf.net/tracker/?func=detail&aid=473578&group_id=2302&atid=102302

run

public void run()
Overrides:
run in class java.lang.Thread