Class PlayerToSpectator
- java.lang.Object
-
- com.smartfoxserver.v2.controllers.BaseControllerCommand
-
- com.smartfoxserver.v2.controllers.system.PlayerToSpectator
-
- All Implemented Interfaces:
com.smartfoxserver.v2.controllers.IControllerCommand
public class PlayerToSpectator extends com.smartfoxserver.v2.controllers.BaseControllerCommand
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
KEY_ROOM
static java.lang.String
KEY_USER_ID
-
Constructor Summary
Constructors Constructor Description PlayerToSpectator()
-
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_ID
public static final java.lang.String KEY_USER_ID
- 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
-
-