Interface OnSocketEvent

All Superinterfaces:
Listener

public interface OnSocketEvent
  • Method Details

    • onSocketEvent

      void onSocketEvent(SocketEvent event)
      Description copied from interface: Listener
      Called when an event regarding the underlying is fired
      Specified by:
      onSocketEvent in interface Listener
      Parameters:
      event - the event
    • onQRCode

      default QrHandler onQRCode()
      Description copied from interface: Listener
      Called when the socket successfully establishes a connection with new secrets. By default, the QR code is printed to the console.
      Specified by:
      onQRCode in interface Listener
      Returns:
      a non-null handler to process the qr code