Interface MessageFlushCallback


  • public interface MessageFlushCallback
    Functor interface for receiving message flush events.
    • Method Detail

      • onCallbackInvoked

        void onCallbackInvoked​(int errorCode)
        Invoked when a message has been flushed to the underlying transport mechanism.
        Parameters:
        errorCode - If this is 0, the message was successfully written. Otherwise, errorCode represents the reason the message flush failed.