activemq-cpp-3.6.0
|
Asynchronous event interface for CMS asynchronous operations. More...
#include <src/main/cms/AsyncCallback.h>
Public Member Functions | |
virtual | ~AsyncCallback () |
virtual void | onSuccess ()=0 |
Called when the asynchronous operation has completed successfully. | |
![]() | |
virtual | ~ExceptionListener () |
virtual void | onException (const cms::CMSException &ex)=0 |
Called when an exception occurs. |
Asynchronous event interface for CMS asynchronous operations.
For operations in CMS that allow for Asynchronous execution the caller provides an instance of this interface. If the asynchronous action is successful the onSuccess method is invoked, otherwise the onException method of cms::ExceptionListener is called.
|
virtual |
|
pure virtual |
Called when the asynchronous operation has completed successfully.