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 SFSEventTypeISFSEvent. getType()Get the type of the eventSFSEventTypeSFSEvent. getType()Get the type of the eventstatic SFSEventTypeSFSEventType. 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 voidSFSExtension. addEventHandler(SFSEventType eventType, IServerEventHandler handler)protected voidSFSExtension. addEventHandler(SFSEventType eventType, java.lang.Class<?> theClass)Add a request handler for a specific event type.voidBaseSFSExtension. addEventListener(SFSEventType eventType, ISFSEventListener listener)Allows to add a listener for a specific server event.voidISFSExtension. addEventListener(SFSEventType eventType, ISFSEventListener listener)Allows to add a listener for a specific server event.protected voidSFSExtension. removeEventHandler(SFSEventType eventType)Remove an event handlervoidBaseSFSExtension. removeEventListener(SFSEventType eventType, ISFSEventListener listener)Remove an event listenervoidISFSExtension. removeEventListener(SFSEventType eventType, ISFSEventListener listener)Remove an event listener
-