game.protocol
Class QuitReply

java.lang.Object
  extended by game.protocol.Reply
      extended by game.protocol.QuitReply

public class QuitReply
extends Reply

Indicates that the game is shutting down. Contains no other information.

Invariant: mType == QUIT


Nested Class Summary
 
Nested classes/interfaces inherited from class game.protocol.Reply
Reply.ReplyType
 
Field Summary
 
Fields inherited from class game.protocol.Reply
log, mServerLog, mType
 
Constructor Summary
QuitReply()
           
QuitReply(java.lang.String msg)
          Parse a quit reply.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class game.protocol.Reply
factory, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QuitReply

public QuitReply()

QuitReply

public QuitReply(java.lang.String msg)
          throws ParseException
Parse a quit reply.

Parameters:
msg - the message text
Throws:
ParseException - if it's not a quit.
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object