Class JoinRoomInvite
- java.lang.Object
-
- com.smartfoxserver.v2.controllers.BaseControllerCommand
-
- com.smartfoxserver.v2.controllers.system.game.JoinRoomInvite
-
- All Implemented Interfaces:
com.smartfoxserver.v2.controllers.IControllerCommand
public class JoinRoomInvite extends com.smartfoxserver.v2.controllers.BaseControllerCommand
-
-
Field Summary
Fields Modifier and Type Field Description protected static boolean
DEFAULT_AS_SPECT
protected static int
DEFAULT_EXPIRY_SEC
static java.lang.String
KEY_AS_SPECT
static java.lang.String
KEY_EXPIRY_SECONDS
static java.lang.String
KEY_INVITED_NAMES
static java.lang.String
KEY_OPTIONAL_PARAMS
static java.lang.String
KEY_ROOM_ID
-
Constructor Summary
Constructors Constructor Description JoinRoomInvite()
-
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_ID
public static final java.lang.String KEY_ROOM_ID
- See Also:
- Constant Field Values
-
KEY_EXPIRY_SECONDS
public static final java.lang.String KEY_EXPIRY_SECONDS
- See Also:
- Constant Field Values
-
KEY_INVITED_NAMES
public static final java.lang.String KEY_INVITED_NAMES
- See Also:
- Constant Field Values
-
KEY_AS_SPECT
public static final java.lang.String KEY_AS_SPECT
- See Also:
- Constant Field Values
-
KEY_OPTIONAL_PARAMS
public static final java.lang.String KEY_OPTIONAL_PARAMS
- See Also:
- Constant Field Values
-
DEFAULT_EXPIRY_SEC
protected static final int DEFAULT_EXPIRY_SEC
- See Also:
- Constant Field Values
-
DEFAULT_AS_SPECT
protected static final boolean DEFAULT_AS_SPECT
- 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
-
-