Package VASSAL.chat
Class SimpleStatus
java.lang.Object
VASSAL.chat.SimpleStatus
- All Implemented Interfaces:
PlayerStatus
- Direct Known Subclasses:
JabberStatus
public class SimpleStatus extends Object implements PlayerStatus
Immutable PlayerStatus class with flags indicating "looking for a game" and "away from keyboard" and a String profile
- Author:
- rkinney
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SimpleStatus()SimpleStatus(boolean looking, boolean away)SimpleStatus(boolean looking, boolean away, String profile)SimpleStatus(boolean looking, boolean away, String profile, String client, String ip, String module, String crc) -
Method Summary
Modifier and Type Method Description static SimpleStatusdecode(String s)static Stringencode(SimpleStatus s)StringgetClient()StringgetCrc()StringgetIp()StringgetModuleVersion()StringgetProfile()booleanisAway()booleanisLooking()voidupdateStatus()Update variable parts of status
-
Field Details
-
CRC
- See Also:
- Constant Field Values
-
MODULE_VERSION
- See Also:
- Constant Field Values
-
IP
- See Also:
- Constant Field Values
-
CLIENT
- See Also:
- Constant Field Values
-
PROFILE
- See Also:
- Constant Field Values
-
AWAY
- See Also:
- Constant Field Values
-
LOOKING
- See Also:
- Constant Field Values
-
NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
SimpleStatus
public SimpleStatus() -
SimpleStatus
public SimpleStatus(boolean looking, boolean away) -
SimpleStatus
-
SimpleStatus
-
-
Method Details
-
isAway
public boolean isAway() -
isLooking
public boolean isLooking() -
getProfile
-
getClient
-
getIp
-
getModuleVersion
-
getCrc
-
encode
-
decode
-
updateStatus
public void updateStatus()Update variable parts of status
-