Interface AMQPBridgeAsyncCompletion<E>
- Type Parameters:
E- The type that defines the context provided to the completion events
public interface AMQPBridgeAsyncCompletion<E>
An asynchronous completion type used to implement the handlers for asynchronous calls in AMQP
bridge types.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonComplete(E context) Called when the asynchronous operation has succeeded.voidonException(E context, Exception error) Called when the asynchronous operation has failed due to an error.
-
Method Details
-
onComplete
Called when the asynchronous operation has succeeded.- Parameters:
context- The context object provided for this asynchronous event.
-
onException
-