|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsoc.message.SOCMessage
soc.message.SOCAdminPing
This message is a way for the admin to test if a robot is connected and running
| Field Summary | |
private java.lang.String |
game
Name of the new game. |
| Constructor Summary | |
SOCAdminPing(java.lang.String ga)
Create a AdminPing message. |
|
| Method Summary | |
java.lang.String |
getGame()
|
static SOCAdminPing |
parseDataStr(java.lang.String s)
Parse the command String into a AdminPing message |
java.lang.String |
toCmd()
ADMINPING sep game |
static java.lang.String |
toCmd(java.lang.String ga)
ADMINPING sep game |
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 |
private java.lang.String game
| Constructor Detail |
public SOCAdminPing(java.lang.String ga)
ga - name of new game| Method Detail |
public java.lang.String getGame()
public java.lang.String toCmd()
toCmd in class SOCMessagepublic static java.lang.String toCmd(java.lang.String ga)
ga - the new game name
public static SOCAdminPing 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 | ||||||||||