activemq-cpp-3.6.0
|
A listener of asynchronous exceptions from a command transport object. More...
#include <src/main/activemq/transport/TransportListener.h>
Public Member Functions | |
virtual | ~TransportListener () |
virtual void | onCommand (const Pointer< Command > command)=0 |
Event handler for the receipt of a command. | |
virtual void | onException (const decaf::lang::Exception &ex)=0 |
Event handler for an exception from a command transport. | |
virtual void | transportInterrupted ()=0 |
The transport has suffered an interruption from which it hopes to recover. | |
virtual void | transportResumed ()=0 |
The transport has resumed after an interruption. |
A listener of asynchronous exceptions from a command transport object.
|
inlinevirtual |
|
pure 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. |
Implemented in activemq::core::ActiveMQConnection, activemq::transport::TransportFilter, activemq::transport::correlator::ResponseCorrelator, activemq::wireformat::openwire::OpenWireFormatNegotiator, activemq::transport::mock::InternalCommandListener, activemq::transport::inactivity::InactivityMonitor, activemq::transport::failover::FailoverTransportListener, activemq::transport::DefaultTransportListener, and activemq::transport::logging::LoggingTransport.
|
pure virtual |
Event handler for an exception from a command transport.
ex | The exception being propagated to this listener to handle. |
Implemented in activemq::core::ActiveMQConnection, activemq::transport::failover::BackupTransport, activemq::transport::TransportFilter, activemq::transport::correlator::ResponseCorrelator, activemq::wireformat::openwire::OpenWireFormatNegotiator, activemq::transport::inactivity::InactivityMonitor, and activemq::transport::failover::FailoverTransportListener.
|
pure virtual |
The transport has suffered an interruption from which it hopes to recover.
Implemented in activemq::core::ActiveMQConnection, activemq::transport::TransportFilter, activemq::transport::failover::FailoverTransportListener, and activemq::transport::DefaultTransportListener.
|
pure virtual |
The transport has resumed after an interruption.
Implemented in activemq::core::ActiveMQConnection, activemq::transport::TransportFilter, activemq::transport::failover::FailoverTransportListener, and activemq::transport::DefaultTransportListener.