|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object game.protocol.Reply game.protocol.QuitReply
public class QuitReply
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 |
---|
public QuitReply()
public QuitReply(java.lang.String msg) throws ParseException
msg
- the message text
ParseException
- if it's not a quit.Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |