Utility class used by the Transport to perform the work of responding to events from the active Transport. More...
#include <src/main/activemq/transport/failover/FailoverTransportListener.h>

Public Member Functions | |
| FailoverTransportListener (FailoverTransport *parent) | |
| virtual | ~FailoverTransportListener () |
| virtual void | onCommand (const Pointer< Command > command) |
| Event handler for the receipt of a command. | |
| virtual void | onException (const decaf::lang::Exception &ex) |
| Event handler for an exception from a command transport. | |
| virtual void | transportInterrupted () |
| The transport has suffered an interruption from which it hopes to recover. | |
| virtual void | transportResumed () |
| The transport has resumed after an interruption. | |
Utility class used by the Transport to perform the work of responding to events from the active Transport.
| activemq::transport::failover::FailoverTransportListener::FailoverTransportListener | ( | FailoverTransport * | parent | ) |
| virtual activemq::transport::failover::FailoverTransportListener::~FailoverTransportListener | ( | ) | [virtual] |
| virtual void activemq::transport::failover::FailoverTransportListener::onCommand | ( | const Pointer< Command > | command | ) | [virtual] |
Event handler for the receipt of a command.
The transport passes off all received commands to its listeners, the listener then owns the Object. If there is no registered listener the Transport deletes the command upon receipt.
| command | the received command object. |
Implements activemq::transport::TransportListener.
| virtual void activemq::transport::failover::FailoverTransportListener::onException | ( | const decaf::lang::Exception & | ex | ) | [virtual] |
Event handler for an exception from a command transport.
| ex | The exception. |
Implements activemq::transport::TransportListener.
| virtual void activemq::transport::failover::FailoverTransportListener::transportInterrupted | ( | ) | [virtual] |
The transport has suffered an interruption from which it hopes to recover.
Implements activemq::transport::TransportListener.
| virtual void activemq::transport::failover::FailoverTransportListener::transportResumed | ( | ) | [virtual] |
The transport has resumed after an interruption.
Implements activemq::transport::TransportListener.
1.6.1