Class SendHandlerCallback

java.lang.Object
org.eclipse.jetty.ee10.websocket.jakarta.common.SendHandlerCallback
All Implemented Interfaces:
Callback, Invocable

public class SendHandlerCallback extends Object implements Callback
Wrapper of user provided SendHandler to Jetty internal Callback
  • Constructor Details

    • SendHandlerCallback

      public SendHandlerCallback(jakarta.websocket.SendHandler sendHandler)
  • Method Details

    • failed

      public void failed(Throwable x)
      Description copied from interface: Callback

      Callback invoked when the operation fails.

      Specified by:
      failed in interface Callback
      Parameters:
      x - the reason for the operation failure
    • succeeded

      public void succeeded()
      Description copied from interface: Callback

      Callback invoked when the operation completes.

      Specified by:
      succeeded in interface Callback
      See Also: