|
activemq-cpp-3.3.0
|
Callback for executing any number of operations on a provided CMS Session. More...
#include <src/main/activemq/cmsutil/SessionCallback.h>

Public Member Functions | |
| virtual | ~SessionCallback () |
| virtual void | doInCms (cms::Session *session)=0 |
| Execute any number of operations against the supplied CMS session. | |
Callback for executing any number of operations on a provided CMS Session.
| virtual activemq::cmsutil::SessionCallback::~SessionCallback | ( | ) | [inline, virtual] |
| virtual void activemq::cmsutil::SessionCallback::doInCms | ( | cms::Session * | session | ) | [pure virtual] |
Execute any number of operations against the supplied CMS session.
| session | the CMS Session |
| CMSException | if thrown by CMS API methods |
Implemented in activemq::cmsutil::CmsTemplate::ProducerExecutor, and activemq::cmsutil::CmsTemplate::ReceiveExecutor.