activemq-cpp-3.6.0
cms::AsyncCallback Class Reference

Asynchronous event interface for CMS asynchronous operations. More...

#include <src/main/cms/AsyncCallback.h>

Inheritance diagram for cms::AsyncCallback:

Public Member Functions

virtual ~AsyncCallback ()
virtual void onSuccess ()=0
 Called when the asynchronous operation has completed successfully.
- Public Member Functions inherited from cms::ExceptionListener
virtual ~ExceptionListener ()
virtual void onException (const cms::CMSException &ex)=0
 Called when an exception occurs.

Detailed Description

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.

Since
3.0

Constructor & Destructor Documentation

virtual cms::AsyncCallback::~AsyncCallback ( )
virtual

Member Function Documentation

virtual void cms::AsyncCallback::onSuccess ( )
pure virtual

Called when the asynchronous operation has completed successfully.


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