18 #ifndef ACTIVEMQ_TRANSPORT_TRANSPORT_H_ 19 #define ACTIVEMQ_TRANSPORT_TRANSPORT_H_ 43 class TransportListener;
70 virtual void start() = 0;
77 virtual void stop() = 0;
176 virtual Transport* narrow(
const std::type_info& typeId) = 0;
184 virtual bool isFaultTolerant()
const = 0;
191 virtual bool isConnected()
const = 0;
198 virtual bool isClosed()
const = 0;
203 virtual bool isReconnectSupported()
const = 0;
208 virtual bool isUpdateURIsSupported()
const = 0;
213 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:59
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:36
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
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