|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object game.protocol.Reply game.protocol.ControlReply
public class ControlReply
Normal response from a control request.
Invariant: mType == CONTROL
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 | |
---|---|
ControlReply(int t)
|
|
ControlReply(java.lang.String msg)
|
Method Summary | |
---|---|
int |
getTime()
|
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 ControlReply(int t)
t
- time in millisecondspublic ControlReply(java.lang.String msg) throws ParseException
msg
- The message text
ParseException
- illformatted message.Method Detail |
---|
public int getTime()
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 |