|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cluedo.info.CluedoInfo | +--cluedo.info.SessionInfo
An instance of this class describes a session.
CluedoPDU
, Serialized FormField Summary | |
int |
activePlayerIndex
"Pointer" to the player who has to carry out the next draw. |
int |
directorId
playerid of the director of this session. |
int |
sessionId
id of the session |
java.lang.String |
sessionName
Name of the session |
int |
state
state of the session. |
int[] |
teamMates
the players who participate in this session. |
Fields inherited from class cluedo.info.CluedoInfo |
ACCEPTED,
CLOSED,
DIRECTOR,
EXPELLED,
INVITED,
LOOSER,
NUMPLAYERS,
OPENED,
REJECTED,
REMOVED,
SERVERID,
TEAMMATE,
TERMINATED,
UNKNOWN,
WINNER |
Constructor Summary | |
SessionInfo()
All attributes are initialised to UNKNOWN or null. |
|
SessionInfo(int directorId,
java.lang.String sessionName)
The directorid and the session name is set. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public int sessionId
public java.lang.String sessionName
public int activePlayerIndex
teamMates
.public int directorId
public int[] teamMates
public int state
Constructor Detail |
public SessionInfo()
public SessionInfo(int directorId, java.lang.String sessionName)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |