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:
Inheritance graph
[legend]

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:
session the CMS Session
Exceptions:
CMSException if 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:

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1