Class GenericMessage
- java.lang.Object
-
- com.smartfoxserver.v2.controllers.BaseControllerCommand
-
- com.smartfoxserver.v2.controllers.system.GenericMessage
-
- All Implemented Interfaces:
com.smartfoxserver.v2.controllers.IControllerCommand
public class GenericMessage extends com.smartfoxserver.v2.controllers.BaseControllerCommand
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
KEY_AOI
static java.lang.String
KEY_MESSAGE
static java.lang.String
KEY_MESSAGE_TYPE
static java.lang.String
KEY_RECIPIENT
static java.lang.String
KEY_RECIPIENT_MODE
static java.lang.String
KEY_ROOM_ID
static java.lang.String
KEY_SENDER_DATA
static java.lang.String
KEY_USER_ID
static java.lang.String
KEY_XTRA_PARAMS
-
Constructor Summary
Constructors Constructor Description GenericMessage()
-
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_USER_ID
public static final java.lang.String KEY_USER_ID
- See Also:
- Constant Field Values
-
KEY_MESSAGE
public static final java.lang.String KEY_MESSAGE
- See Also:
- Constant Field Values
-
KEY_MESSAGE_TYPE
public static final java.lang.String KEY_MESSAGE_TYPE
- See Also:
- Constant Field Values
-
KEY_RECIPIENT
public static final java.lang.String KEY_RECIPIENT
- See Also:
- Constant Field Values
-
KEY_RECIPIENT_MODE
public static final java.lang.String KEY_RECIPIENT_MODE
- See Also:
- Constant Field Values
-
KEY_SENDER_DATA
public static final java.lang.String KEY_SENDER_DATA
- See Also:
- Constant Field Values
-
KEY_XTRA_PARAMS
public static final java.lang.String KEY_XTRA_PARAMS
- See Also:
- Constant Field Values
-
KEY_AOI
public static final java.lang.String KEY_AOI
- 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
-
-