18#ifndef _ACTIVEMQ_TRANSPORT_TRANSPORTLISTENER_H_
19#define _ACTIVEMQ_TRANSPORT_TRANSPORTLISTENER_H_
32 using decaf::lang::Pointer;
33 using activemq::commands::Command;
#define AMQCPP_API
Definition Config.h:30
Interface for a transport layer for command objects.
Definition Transport.h:60
A listener of asynchronous exceptions from a command transport object.
Definition TransportListener.h:38
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 ~TransportListener()
Definition TransportListener.h:41
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.
Definition Exception.h:38
Decaf's implementation of a Smart Pointer that is a template on a Type and is Thread Safe if the defa...
Definition Pointer.h:53
Definition AbstractTransportFactory.h:30
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24