cluedo.info
Class SessionCloseRequestInfo

java.lang.Object
  |
  +--cluedo.info.CluedoInfo
        |
        +--cluedo.info.SessionCloseRequestInfo

public class SessionCloseRequestInfo
extends CluedoInfo

Sent by a client in order to request that the state of a session changes from OPEN to CLOSED. When a session is closed no other clients can join this session and the game begins. The server answers the request with a SessionClosedInfo which is broadcasted to all clients.

See Also:
CluedoPDU, SessionInfo, SessionClosedInfo, Serialized Form

Field Summary
 int sessionId
           
 
Fields inherited from class cluedo.info.CluedoInfo
ACCEPTED, CLOSED, DIRECTOR, EXPELLED, INVITED, LOOSER, NUMPLAYERS, OPENED, REJECTED, REMOVED, SERVERID, TEAMMATE, TERMINATED, UNKNOWN, WINNER
 
Constructor Summary
SessionCloseRequestInfo(int sessionId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sessionId

public int sessionId
Constructor Detail

SessionCloseRequestInfo

public SessionCloseRequestInfo(int sessionId)