QuickServer
v1.4.7

org.quickserver.net.qsadmin
Class QSAdminShell

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.quickserver.net.qsadmin.QSAdminShell
All Implemented Interfaces:
java.lang.Runnable

public class QSAdminShell
extends java.lang.Thread

QSAdmin Command Shell. This class will auto increase the maxClient by 1 if for QSAdminServer maxClient is not equals to -1 and 0 (no other client except shell is allowed).

Since:
1.3.2
Author:
Akshathkumar Shetty

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
static QSAdminShell getInstance(QuickServer server, java.lang.String promptName)
           
 java.lang.String getPromptName()
           
 void run()
           
 void setPromptName(java.lang.String name)
           
 void startSocketListener()
           
 void stopShell()
           
static void tryFullThreadDump()
           
 
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
 

Method Detail

getInstance

public static QSAdminShell getInstance(QuickServer server,
                                       java.lang.String promptName)

setPromptName

public void setPromptName(java.lang.String name)

getPromptName

public java.lang.String getPromptName()

stopShell

public void stopShell()
               throws java.io.IOException
Throws:
java.io.IOException

run

public void run()

startSocketListener

public void startSocketListener()

tryFullThreadDump

public static void tryFullThreadDump()

QuickServer
v1.4.7

Copyright © 2003-2006 QuickServer.org