Interface WriteCallback

All Known Implementing Classes:
AbstractWebSocketConnection.CallbackBridge, BlockingWriteCallback.WriteBlocker, CompressExtension.Flusher, ExtensionStack.Flusher, FragmentExtension.Flusher, FutureWriteCallback, SendHandlerWriteCallback

public interface WriteCallback
Callback for Write events.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Callback invoked when the write fails.
    void
    Callback invoked when the write completes.
  • Method Details

    • writeFailed

      void writeFailed(Throwable x)

      Callback invoked when the write fails.

      Parameters:
      x - the reason for the write failure
    • writeSuccess

      void writeSuccess()

      Callback invoked when the write completes.

      See Also: