activemq-cpp-3.6.0
activemq::transport::ResponseCallback Class Reference

Allows an async send to complete at a later time via a Response event. More...

#include <src/main/activemq/transport/ResponseCallback.h>

Public Member Functions

 ResponseCallback ()
virtual ~ResponseCallback ()
virtual void onComplete (decaf::lang::Pointer< commands::Response > response)=0
 When an Asynchronous operations completes this event is fired.

Detailed Description

Allows an async send to complete at a later time via a Response event.

Constructor & Destructor Documentation

activemq::transport::ResponseCallback::ResponseCallback ( )
virtual activemq::transport::ResponseCallback::~ResponseCallback ( )
virtual

Member Function Documentation

virtual void activemq::transport::ResponseCallback::onComplete ( decaf::lang::Pointer< commands::Response response)
pure virtual

When an Asynchronous operations completes this event is fired.

The provided FutureResponse can either contain the result of the operation or an exception indicating that the operation failed.

Parameters
responseThe result of the asynchronous operation that registered this call-back.

The documentation for this class was generated from the following file: