activemq-cpp-3.6.0
activemq::cmsutil::SessionCallback Class Reference

Callback for executing any number of operations on a provided CMS Session. More...

#include <src/main/activemq/cmsutil/SessionCallback.h>

Inheritance diagram for activemq::cmsutil::SessionCallback:

Public Member Functions

virtual ~SessionCallback ()
virtual void doInCms (cms::Session *session)=0
 Execute any number of operations against the supplied CMS session.

Detailed Description

Callback for executing any number of operations on a provided CMS Session.

Constructor & Destructor Documentation

virtual activemq::cmsutil::SessionCallback::~SessionCallback ( )
virtual

Member Function Documentation

virtual void activemq::cmsutil::SessionCallback::doInCms ( cms::Session session)
pure virtual

Execute any number of operations against the supplied CMS session.

Parameters
sessionthe CMS Session
Exceptions
CMSExceptionif thrown by CMS API methods

Implemented in activemq::cmsutil::CmsTemplate::ReceiveExecutor, and activemq::cmsutil::CmsTemplate::ProducerExecutor.


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