|
activemq-cpp-3.9.0
|
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. More... | |
| virtual void | onException (const decaf::lang::Exception &ex AMQCPP_UNUSED) |
| Event handler for an exception from a command transport. More... | |
| virtual void | transportInterrupted () |
| The transport has suffered an interruption from which it hopes to recover. More... | |
| virtual void | transportResumed () |
| The transport has resumed after an interruption. More... | |
Public Member Functions inherited from activemq::transport::TransportListener | |
| virtual | ~TransportListener () |
| virtual void | onException (const decaf::lang::Exception &ex)=0 |
| Event handler for an exception from a command transport. More... | |
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 |
|
inlinevirtual |
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.
|
inlinevirtual |
Event handler for an exception from a command transport.
| ex | The exception. |
|
inlinevirtual |
The transport has suffered an interruption from which it hopes to recover.
Implements activemq::transport::TransportListener.
|
inlinevirtual |
The transport has resumed after an interruption.
Implements activemq::transport::TransportListener.