simulator
Class WhoClientCommand

java.lang.Object
  |
  +--simulator.ClientCommand
        |
        +--simulator.WhoClientCommand

class WhoClientCommand
extends ClientCommand

Implements the client command that shows who are connected now


Fields inherited from class simulator.ClientCommand
command, description, name
 
Constructor Summary
WhoClientCommand()
          Initialize object for WHO command
 
Method Summary
 boolean runCommand(java.util.StringTokenizer ST, Connection connection)
          List the connected client
 
Methods inherited from class simulator.ClientCommand
getDescription, getName, getText
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

WhoClientCommand

public WhoClientCommand()
Initialize object for WHO command
Method Detail

runCommand

public boolean runCommand(java.util.StringTokenizer ST,
                          Connection connection)
List the connected client
Parameters:
ST - never used for WHO command
connection - a copy of Connection istance to permit you to use it's variables
Returns:
false becouse we must not exit
Overrides:
runCommand in class ClientCommand