com.xfactorstudio.ahawasi
Class LineCommand

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--com.xfactorstudio.ahawasi.LineCommand
All Implemented Interfaces:
java.lang.Runnable

public class LineCommand
extends java.lang.Thread

The line command interface

Version:
.91
Author:
Neeld Tanksley

Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
LineCommand(Ahawasi server)
           
 
Method Summary
 boolean doHelp(java.lang.String command)
           
 void printClientList(java.io.PrintWriter out)
           
 void printRoomListScreen(java.io.PrintWriter out)
           
 void run()
           
 java.lang.String showClientsScreen(java.util.Vector clientList)
           
 void showRoomInfo(java.io.PrintWriter out, int port)
          Prints to screen a listing of information about the room specified by port.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, 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

LineCommand

public LineCommand(Ahawasi server)
Method Detail

showRoomInfo

public void showRoomInfo(java.io.PrintWriter out,
                         int port)
Prints to screen a listing of information about the room specified by port. If port is 0, then it shows information about the server.

printRoomListScreen

public void printRoomListScreen(java.io.PrintWriter out)

printClientList

public void printClientList(java.io.PrintWriter out)

showClientsScreen

public java.lang.String showClientsScreen(java.util.Vector clientList)

doHelp

public boolean doHelp(java.lang.String command)

run

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