Interface MessageConnector.IMessageConnection.SendCallback

Enclosing interface:
MessageConnector.IMessageConnection

public static interface MessageConnector.IMessageConnection.SendCallback
Reports completion of one accepted send.
Since:
4.23
Author:
Eike Stepper
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called once after successful transmission and after provider access to the borrowed buffer has ended.
    void
    failed(Throwable failure)
    Called once when transmission failed, delivery became ambiguous, or an accepted send was cancelled during termination.
  • Method Details

    • completed

      void completed()
      Called once after successful transmission and after provider access to the borrowed buffer has ended.
    • failed

      void failed(Throwable failure)
      Called once when transmission failed, delivery became ambiguous, or an accepted send was cancelled during termination. Provider access to the borrowed buffer must have ended before this callback.
      Parameters:
      failure - the transmission or cancellation failure