Class Handshake
- java.lang.Object
-
- com.smartfoxserver.v2.controllers.BaseControllerCommand
-
- com.smartfoxserver.v2.controllers.system.Handshake
-
- All Implemented Interfaces:
com.smartfoxserver.v2.controllers.IControllerCommand
public class Handshake extends com.smartfoxserver.v2.controllers.BaseControllerCommand
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
KEY_API
static java.lang.String
KEY_BIN_FLAG
static java.lang.String
KEY_CLIENT_TYPE
static java.lang.String
KEY_COMPRESSION_THRESHOLD
static java.lang.String
KEY_MAX_MESSAGE_SIZE
static java.lang.String
KEY_RECONNECTION_TOKEN
static java.lang.String
KEY_TOKEN
-
Constructor Summary
Constructors Constructor Description Handshake()
-
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_BIN_FLAG
public static final java.lang.String KEY_BIN_FLAG
- See Also:
- Constant Field Values
-
KEY_API
public static final java.lang.String KEY_API
- See Also:
- Constant Field Values
-
KEY_TOKEN
public static final java.lang.String KEY_TOKEN
- See Also:
- Constant Field Values
-
KEY_COMPRESSION_THRESHOLD
public static final java.lang.String KEY_COMPRESSION_THRESHOLD
- See Also:
- Constant Field Values
-
KEY_RECONNECTION_TOKEN
public static final java.lang.String KEY_RECONNECTION_TOKEN
- See Also:
- Constant Field Values
-
KEY_CLIENT_TYPE
public static final java.lang.String KEY_CLIENT_TYPE
- See Also:
- Constant Field Values
-
KEY_MAX_MESSAGE_SIZE
public static final java.lang.String KEY_MAX_MESSAGE_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public void execute(com.smartfoxserver.bitswarm.io.IRequest request) throws java.lang.Exception
- Throws:
java.lang.Exception
-
validate
public boolean validate(com.smartfoxserver.bitswarm.io.IRequest request) throws SFSRequestValidationException
- Throws:
SFSRequestValidationException
-
-