Package com.smartfoxserver.extensions
Interface IServerEventHandler
- All Known Implementing Classes:
BaseServerEventHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptiondefault SFSExtensionObtain a reference to the parent extension.voidhandleServerEvent(ISFSEvent event) Handle a server side eventdefault void
-
Method Details
-
handleServerEvent
Handle a server side event- Parameters:
event- the Event- Throws:
SFSException- See Also:
-
setParentExtension
- Internal
-
getParentExtension
Obtain a reference to the parent extension.- Returns:
- a reference to the parent extension
-