Interface ClientInitializer
-
- 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 ClientInitializer
- Since:
- 4.0.0, CE 2019.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
initialize(@NotNull InitializerInput initializerInput, @NotNull ClientContext clientContext)
This method is called for every client when the client is connected and a session is either created or exists.
-
-
-
Method Detail
-
initialize
void initialize(@NotNull InitializerInput initializerInput, @NotNull ClientContext clientContext)
This method is called for every client when the client is connected and a session is either created or exists. Also this method is called for every already connected client, when the extension starts.- Parameters:
initializerInput
- TheInitializerInput
containing information about, server, client and connection.clientContext
- TheClientContext
to add/remove:Interceptor
s orTopicPermission
s.- Since:
- 4.0.0, CE 2019.1
-
-