qat.common
Class ConsoleServer

java.lang.Object
  extended byjava.lang.Thread
      extended byqat.common.ConsoleServer
All Implemented Interfaces:
java.lang.Runnable

public class ConsoleServer
extends java.lang.Thread


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
static void addClient(java.io.DataInputStream in, java.io.DataOutputStream out, java.net.Socket socket, int clientDebugLevel)
           
static void debugMsg(java.lang.String msg)
           
static void debugMsg(java.lang.String msg, int level)
           
static void debugStackTrace(java.lang.Throwable ex)
           
static java.io.PrintStream getConsoleOutput()
           
static int getDebugLevel()
           
static void removeClient(int i)
           
static void setDebugLevel(int l)
           
 
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, run, 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
 

Method Detail

debugMsg

public static void debugMsg(java.lang.String msg)

debugMsg

public static void debugMsg(java.lang.String msg,
                            int level)

debugStackTrace

public static void debugStackTrace(java.lang.Throwable ex)

setDebugLevel

public static void setDebugLevel(int l)

getDebugLevel

public static int getDebugLevel()

removeClient

public static void removeClient(int i)

addClient

public static void addClient(java.io.DataInputStream in,
                             java.io.DataOutputStream out,
                             java.net.Socket socket,
                             int clientDebugLevel)

getConsoleOutput

public static java.io.PrintStream getConsoleOutput()


See QAT project for licensing details