18 #ifndef _ACTIVEMQ_TRANSPORT_IOTRANSPORT_H_ 19 #define _ACTIVEMQ_TRANSPORT_IOTRANSPORT_H_ 41 class IOTransportImpl;
65 IOTransportImpl* impl;
158 virtual void start();
162 virtual void close();
165 if (
typeid(*
this) == typeId) {
176 virtual bool isConnected()
const;
178 virtual bool isClosed()
const;
virtual std::string getRemoteAddress() const
Definition: IOTransport.h:180
#define AMQCPP_API
Definition: Config.h:30
Implementation of the Transport interface that performs marshaling of commands to IO streams...
Definition: IOTransport.h:58
#define NULL
Definition: Config.h:33
Definition: Response.h:46
virtual bool isFaultTolerant() const
Is this Transport fault tolerant, meaning that it will reconnect to a broker on disconnect.
Definition: IOTransport.h:172
Definition: IOException.h:28
virtual bool isReconnectSupported() const
Definition: IOTransport.h:184
Interface for a transport layer for command objects.
Definition: Transport.h:59
A data output stream lets an application write primitive Java data types to an output stream in a por...
Definition: DataOutputStream.h:34
virtual void updateURIs(bool rebalance AMQCPP_UNUSED, const decaf::util::List< decaf::net::URI > &uris AMQCPP_UNUSED)
Definition: IOTransport.h:192
This class represents an instance of a URI as defined by RFC 2396.
Definition: URI.h:36
virtual void reconnect(const decaf::net::URI &uri AMQCPP_UNUSED)
Definition: IOTransport.h:201
virtual Transport * narrow(const std::type_info &typeId)
Narrows down a Chain of Transports to a specific Transport to allow a higher level transport to skip ...
Definition: IOTransport.h:164
#define LOGDECAF_DECLARE(loggerName)
Definition: LoggerDefines.h:23
virtual bool isUpdateURIsSupported() const
Definition: IOTransport.h:188
Interface for a runnable object - defines a task that can be run by a thread.
Definition: Runnable.h:29
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
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
A listener of asynchronous exceptions from a command transport object.
Definition: TransportListener.h:38