Uses of Class
com.smartfoxserver.v2.core.SFSEventType
-
Packages that use SFSEventType Package Description com.smartfoxserver.v2.core com.smartfoxserver.v2.extensions -
-
Uses of SFSEventType in com.smartfoxserver.v2.core
Methods in com.smartfoxserver.v2.core that return SFSEventType Modifier and Type Method Description SFSEventType
ISFSEvent. getType()
Get the type of the eventSFSEventType
SFSEvent. getType()
Get the type of the eventstatic 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.Constructors in com.smartfoxserver.v2.core with parameters of type SFSEventType Constructor Description SFSEvent(SFSEventType type)
SFSEvent(SFSEventType type, java.util.Map<ISFSEventParam,java.lang.Object> params)
-
Uses of SFSEventType in com.smartfoxserver.v2.extensions
Methods in com.smartfoxserver.v2.extensions with parameters of type SFSEventType Modifier and Type Method Description protected void
SFSExtension. addEventHandler(SFSEventType eventType, IServerEventHandler handler)
protected void
SFSExtension. addEventHandler(SFSEventType eventType, java.lang.Class<?> theClass)
Add a request handler for a specific event type.void
BaseSFSExtension. addEventListener(SFSEventType eventType, ISFSEventListener listener)
Allows to add a listener for a specific server event.void
ISFSExtension. addEventListener(SFSEventType eventType, ISFSEventListener listener)
Allows to add a listener for a specific server event.protected void
SFSExtension. removeEventHandler(SFSEventType eventType)
Remove an event handlervoid
BaseSFSExtension. removeEventListener(SFSEventType eventType, ISFSEventListener listener)
Remove an event listenervoid
ISFSExtension. removeEventListener(SFSEventType eventType, ISFSEventListener listener)
Remove an event listener
-