|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsoc.message.SOCMessage
soc.message.SOCServerPing
This is a ping message from the server
| Field Summary | |
(package private) int |
sleepTime
the ammount of time to sleep waiting for the next ping |
| Constructor Summary | |
SOCServerPing(int st)
Create a ServerPing message. |
|
| Method Summary | |
int |
getSleepTime()
|
static SOCServerPing |
parseDataStr(java.lang.String s)
Parse the command String into a ServerPing message |
java.lang.String |
toCmd()
SERVERPING sep sleepTime |
java.lang.String |
toCmd(int st)
SERVERPING sep sleepTime |
java.lang.String |
toString()
Simple human-readable representation, used for debug purposes. |
| Methods inherited from class soc.message.SOCMessage |
getMaximumVersion, getMinimumVersion, getType, toMsg, toSingleElemArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
int sleepTime
| Constructor Detail |
public SOCServerPing(int st)
st - the sleep time| Method Detail |
public int getSleepTime()
public java.lang.String toCmd()
toCmd in class SOCMessagepublic java.lang.String toCmd(int st)
st - the sleep time
public static SOCServerPing parseDataStr(java.lang.String s)
s - the String to parse
public java.lang.String toString()
SOCMessage
toString in class SOCMessage
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||