ks.common.command
Class QuitCommand

java.lang.Object
  extended byks.common.ArgumentList
      extended byks.common.command.Command
          extended byks.common.command.QuitCommand
All Implemented Interfaces:
java.io.Serializable

public class QuitCommand
extends Command

Command to represent the exit of a client.

See Also:
Serialized Form

Constructor Summary
QuitCommand()
           
 
Method Summary
static java.lang.String formatMessage(java.lang.String userName)
          Return formatted message when user decides to quit.
 
Methods inherited from class ks.common.command.Command
formatString, isError, isQuittable, setQuittable, toString
 
Methods inherited from class ks.common.ArgumentList
addArgMulti, addArgMulti, addArgMulti, addArgMulti, addArgMulti, addArgMulti, addArgMulti, addArgMulti, clearArg, clearArg, clearArgMulti, clearArgMulti, getArg, getArg, getArgMulti, getArgMulti, multiArgs, removeArgMulti, removeArgMulti, removeArgMulti, removeArgMulti, removeArgMulti, removeArgMulti, removeArgMulti, removeArgMulti, setArg, setArg, singleArgs
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QuitCommand

public QuitCommand()
Method Detail

formatMessage

public static final java.lang.String formatMessage(java.lang.String userName)
Return formatted message when user decides to quit.