18 #ifndef ACTIVEMQ_TRANSPORT_TRANSPORT_H_
19 #define ACTIVEMQ_TRANSPORT_TRANSPORT_H_
44 class TransportListener;
71 virtual void start() = 0;
78 virtual void stop() = 0;
177 virtual Transport* narrow(
const std::type_info& typeId) = 0;
185 virtual bool isFaultTolerant()
const = 0;
192 virtual bool isConnected()
const = 0;
199 virtual bool isClosed()
const = 0;
204 virtual bool isReconnectSupported()
const = 0;
209 virtual bool isUpdateURIsSupported()
const = 0;
214 virtual std::string getRemoteAddress()
const = 0;
#define AMQCPP_API
Definition: Config.h:30
Definition: Response.h:46
Interface for a transport layer for command objects.
Definition: Transport.h:60
Base interface for all classes that run as a Service inside the application.
Definition: Service.h:31
Interface for a class that implements the close method.
Definition: Closeable.h:30
This class represents an instance of a URI as defined by RFC 2396.
Definition: URI.h:37
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
A listener of asynchronous exceptions from a command transport object.
Definition: TransportListener.h:38