Module bus.http

Interface CoverCall.Register<T>

Type Parameters:
T - The type of data associated with the event.
Enclosing class:
CoverCall

public static interface CoverCall.Register<T>
A functional interface for handling WebSocket events.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    on(CoverCall ws, T data)
    Called when a WebSocket event occurs.
  • Method Details

    • on

      void on(CoverCall ws, T data)
      Called when a WebSocket event occurs.
      Parameters:
      ws - The CoverCall instance.
      data - The data associated with the event.