activemq-cpp-3.4.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 ( ) [inline, 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::ProducerExecutor, and activemq::cmsutil::CmsTemplate::ReceiveExecutor.


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