Interface LoginPhaseConnection

    • Method Detail

      • sendLoginPluginMessage

        void sendLoginPluginMessage​(ChannelIdentifier identifier,
                                    byte[] contents,
                                    LoginPhaseConnection.MessageConsumer consumer)
        Sends a login plugin message to the client, and provides a consumer to react to the response to the client. The login process will not continue until there are no more login plugin messages that require responses.
        Parameters:
        identifier - the channel identifier to use
        contents - the message to send
        consumer - the consumer that will respond to the message