Interface ConnectionInitializer


  • public interface ConnectionInitializer
    Initialize a connection to prepare it for usage.
    Since:
    6.0
    Author:
    Mark Paluch
    • Method Detail

      • initialize

        CompletionStage<Void> initialize​(Channel channel)
        Initialize the connection for usage. This method is invoked after establishing the transport connection and before the connection is used for user-space commands.
        Parameters:
        channel - the Channel to initialize.
        Returns:
        the CompletionStage that completes once the channel is fully initialized.