public enum SFSEventParam extends java.lang.Enum<SFSEventParam> implements ISFSEventParam
Enum Constant and Description |
---|
DISCONNECTION_REASON
A reason for the disconnection event, where applicable (
ClientDisconnectionReason ) |
JOINED_ROOMS
The list of joined Rooms of a User that was disconnected (
List of Room ) |
LOGIN_IN_DATA
The custom data sent at login time (
SFSObject ) |
LOGIN_NAME
The user name sent at login time (
String ) |
LOGIN_OUT_DATA
The custom data to return to the user after a successful login (
SFSObject ) |
LOGIN_PASSWORD
The user password sent at login time (
String ) |
MESSAGE
The chat message (
String ) |
OBJECT
An object with extra data (
ISFSObject ) |
PLAYER_ID
The PlayerId (
Integer ) |
PLAYER_IDS_BY_ROOM
A map of PlayerId by Room (
Map ) of Room, Integer |
RECIPIENT
The recipient of a message (
User ) |
ROOM
The Room in which the event was fired, where applicable (
Room ) |
SESSION
The User Session (
Session ) |
UPLOAD_FILE_LIST
List of uploaded files as List<UploadedFile> (
List ) |
UPLOAD_HTTP_PARAMS
Custom HTTP parameters passed in the upload HTTP POST call.
|
USER
The User that generated the event (
User ) |
VARIABLES
A list of server variables (
List ) |
VARIABLES_MAP
A list of server variables in map ( key/value ) form (
Map ) |
ZONE
The Zone in which the event was fired (
Zone ) |
Modifier and Type | Method and Description |
---|---|
static SFSEventParam |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SFSEventParam[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SFSEventParam ZONE
Zone
)public static final SFSEventParam ROOM
Room
)public static final SFSEventParam USER
User
)public static final SFSEventParam LOGIN_NAME
String
)public static final SFSEventParam LOGIN_PASSWORD
String
)public static final SFSEventParam LOGIN_IN_DATA
SFSObject
)public static final SFSEventParam LOGIN_OUT_DATA
SFSObject
)public static final SFSEventParam JOINED_ROOMS
List
of Room )public static final SFSEventParam PLAYER_ID
Integer
)public static final SFSEventParam PLAYER_IDS_BY_ROOM
Map
) of Room, Integerpublic static final SFSEventParam SESSION
Session
)public static final SFSEventParam DISCONNECTION_REASON
ClientDisconnectionReason
)public static final SFSEventParam VARIABLES
List
)public static final SFSEventParam VARIABLES_MAP
Map
)public static final SFSEventParam RECIPIENT
User
)public static final SFSEventParam MESSAGE
String
)public static final SFSEventParam OBJECT
ISFSObject
)public static final SFSEventParam UPLOAD_FILE_LIST
List
)UploadedFile
public static final SFSEventParam UPLOAD_HTTP_PARAMS
Map
)public static SFSEventParam[] values()
for (SFSEventParam c : SFSEventParam.values()) System.out.println(c);
public static SFSEventParam valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null