Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <FailoverListener.h>
Public Member Functions | |
FailoverListener (const boost::shared_ptr< ConnectionImpl > &, const std::vector< Url > &initUrls) | |
~FailoverListener () | |
void | stop () |
std::vector< Url > | getKnownBrokers () const |
void | received (Message &msg) |
Called for each message arriving from the broker. | |
void | run () |
Definition at line 40 of file FailoverListener.h.
qpid::client::FailoverListener::FailoverListener | ( | const boost::shared_ptr< ConnectionImpl > & | , | |
const std::vector< Url > & | initUrls | |||
) |
qpid::client::FailoverListener::~FailoverListener | ( | ) |
std::vector<Url> qpid::client::FailoverListener::getKnownBrokers | ( | ) | const |
void qpid::client::FailoverListener::received | ( | Message & | msg | ) | [virtual] |
Called for each message arriving from the broker.
Override in your own subclass to process messages.
Implements qpid::client::MessageListener.
void qpid::client::FailoverListener::run | ( | ) |
void qpid::client::FailoverListener::stop | ( | ) |