Apache Qpid C++ API
Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation

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 Jun 7 17:49:08 2010 for Qpid C++ Client API by doxygen 1.6.2-20100208