A Utility class that create empty implementations for the TransportListener interface so that a subclass only needs to override the one's its interested. More...
#include <src/main/activemq/transport/DefaultTransportListener.h>

Public Member Functions | |
| virtual | ~DefaultTransportListener () |
| virtual void | onCommand (const Pointer< Command > command AMQCPP_UNUSED) |
| Event handler for the receipt of a command. | |
| virtual void | onException (const decaf::lang::Exception &ex AMQCPP_UNUSED) |
| 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. | |
A Utility class that create empty implementations for the TransportListener interface so that a subclass only needs to override the one's its interested.
| virtual activemq::transport::DefaultTransportListener::~DefaultTransportListener | ( | ) | [virtual] |
| virtual void activemq::transport::DefaultTransportListener::onCommand | ( | const Pointer< Command > command | AMQCPP_UNUSED | ) | [inline, 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.
Reimplemented in activemq::transport::mock::InternalCommandListener.
| virtual void activemq::transport::DefaultTransportListener::onException | ( | const decaf::lang::Exception &ex | AMQCPP_UNUSED | ) | [inline, virtual] |
Event handler for an exception from a command transport.
| ex | The exception. |
| virtual void activemq::transport::DefaultTransportListener::transportInterrupted | ( | ) | [inline, virtual] |
The transport has suffered an interruption from which it hopes to recover.
Implements activemq::transport::TransportListener.
| virtual void activemq::transport::DefaultTransportListener::transportResumed | ( | ) | [inline, virtual] |
The transport has resumed after an interruption.
Implements activemq::transport::TransportListener.
1.6.1