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 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 - The InitializerInput containing information about, server, client and connection.
        clientContext - The ClientContext to add/remove: Interceptors or TopicPermissions.
        Since:
        4.0.0, CE 2019.1