Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Public Member Functions
qpid::client::FailoverManager::Command Struct Reference

Interface to implement for doing work that can be resumed on failover. More...

#include <qpid/client/FailoverManager.h>

List of all members.

Public Member Functions

virtual void execute (AsyncSession &session, bool isRetry)=0
 This method will be called with isRetry=false when the command is first executed.
virtual ~Command ()

Detailed Description

Interface to implement for doing work that can be resumed on failover.

Definition at line 52 of file FailoverManager.h.


Constructor & Destructor Documentation

virtual qpid::client::FailoverManager::Command::~Command ( ) [inline, virtual]

Definition at line 65 of file FailoverManager.h.


Member Function Documentation

virtual void qpid::client::FailoverManager::Command::execute ( AsyncSession session,
bool  isRetry 
) [pure virtual]

This method will be called with isRetry=false when the command is first executed.

The session to use for the work will be passed to the implementing class. If the connection fails while the execute call is in progress, the FailoverManager controlling the execution will re-establish a connection, open a new session and call back to the Command implementations execute method with the new session and isRetry=true.


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

Qpid C++ API Reference
Generated on Mon Aug 22 2011 for Qpid C++ Client API by doxygen 1.7.4