Interface MessageFlushCallback
public interface MessageFlushCallback
Functor interface for receiving message flush events.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCallbackInvoked
(int errorCode) Invoked when a message has been flushed to the underlying transport mechanism.
-
Method Details
-
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.
-