Package | Description |
---|---|
com.smartfoxserver.v2.core | |
com.smartfoxserver.v2.extensions |
Modifier and Type | Method and Description |
---|---|
SFSEventType |
SFSEvent.getType()
Get the type of the event
|
SFSEventType |
ISFSEvent.getType()
Get the type of the event
|
static SFSEventType |
SFSEventType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SFSEventType[] |
SFSEventType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
SFSEvent(SFSEventType type) |
SFSEvent(SFSEventType type,
java.util.Map<ISFSEventParam,java.lang.Object> params) |
Modifier and Type | Method and Description |
---|---|
protected void |
SFSExtension.addEventHandler(SFSEventType eventType,
java.lang.Class<?> theClass)
Add a request handler for a specific event type.
|
protected void |
SFSExtension.addEventHandler(SFSEventType eventType,
IServerEventHandler handler) |
void |
ISFSExtension.addEventListener(SFSEventType eventType,
ISFSEventListener listener)
Allows to add a listener for a specific server event.
|
void |
BaseSFSExtension.addEventListener(SFSEventType eventType,
ISFSEventListener listener)
Allows to add a listener for a specific server event.
|
protected void |
SFSExtension.removeEventHandler(SFSEventType eventType)
Remove an event handler
|
void |
ISFSExtension.removeEventListener(SFSEventType eventType,
ISFSEventListener listener)
Remove an event listener
|
void |
BaseSFSExtension.removeEventListener(SFSEventType eventType,
ISFSEventListener listener)
Remove an event listener
|