Class JoinRoom
- java.lang.Object
-
- com.smartfoxserver.v2.controllers.BaseControllerCommand
-
- com.smartfoxserver.v2.controllers.system.JoinRoom
-
- All Implemented Interfaces:
com.smartfoxserver.v2.controllers.IControllerCommand
public class JoinRoom extends com.smartfoxserver.v2.controllers.BaseControllerCommand
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
KEY_AS_SPECTATOR
static java.lang.String
KEY_PASS
static java.lang.String
KEY_ROOM
static java.lang.String
KEY_ROOM_ID
static java.lang.String
KEY_ROOM_NAME
static java.lang.String
KEY_ROOM_TO_LEAVE
static java.lang.String
KEY_USER_LIST
-
Constructor Summary
Constructors Constructor Description JoinRoom()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(com.smartfoxserver.bitswarm.io.IRequest request)
boolean
validate(com.smartfoxserver.bitswarm.io.IRequest request)
-
-
-
Field Detail
-
KEY_ROOM
public static final java.lang.String KEY_ROOM
- See Also:
- Constant Field Values
-
KEY_USER_LIST
public static final java.lang.String KEY_USER_LIST
- See Also:
- Constant Field Values
-
KEY_ROOM_NAME
public static final java.lang.String KEY_ROOM_NAME
- See Also:
- Constant Field Values
-
KEY_ROOM_ID
public static final java.lang.String KEY_ROOM_ID
- See Also:
- Constant Field Values
-
KEY_PASS
public static final java.lang.String KEY_PASS
- See Also:
- Constant Field Values
-
KEY_ROOM_TO_LEAVE
public static final java.lang.String KEY_ROOM_TO_LEAVE
- See Also:
- Constant Field Values
-
KEY_AS_SPECTATOR
public static final java.lang.String KEY_AS_SPECTATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
validate
public boolean validate(com.smartfoxserver.bitswarm.io.IRequest request) throws SFSRequestValidationException
- Throws:
SFSRequestValidationException
-
execute
public void execute(com.smartfoxserver.bitswarm.io.IRequest request) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-