Interface ClientAuthHandler.ClientAuthSender

Enclosing interface:
ClientAuthHandler

public static interface ClientAuthHandler.ClientAuthSender
A communication channel to the server during initial connection.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Signal an error to the server and abort the authentication attempt.
    void
    send(byte[] payload)
    Send the server a message.
  • Method Details

    • send

      void send(byte[] payload)
      Send the server a message.
    • onError

      void onError(Throwable cause)
      Signal an error to the server and abort the authentication attempt.