Package com.smartfoxserver.v2.extensions
Interface IClientRequestHandler
-
- All Known Implementing Classes:
BaseClientRequestHandler,SignUpAssistantComponent
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IClientRequestHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SFSExtensiongetParentExtension()Obtain a reference to the parent extension.voidhandleClientRequest(User sender, ISFSObject params)Handle a client requestdefault voidsetParentExtension(SFSExtension ext)
-
-
-
Method Detail
-
handleClientRequest
void handleClientRequest(User sender, ISFSObject params)
Handle a client request- Parameters:
sender- the sender of the requestparams- the parameters of the request- See Also:
SFSObject
-
setParentExtension
default void setParentExtension(SFSExtension ext)
-
getParentExtension
default SFSExtension getParentExtension()
Obtain a reference to the parent extension.- Returns:
- a reference to the parent extension
-
-