18 #ifndef _ACTIVEMQ_TRANSPORT_TCP_TCPTRANSPORT_H_ 19 #define _ACTIVEMQ_TRANSPORT_TCP_TCPTRANSPORT_H_ 41 class TcpTransportImpl;
51 TcpTransportImpl* impl;
73 void setConnectTimeout(
int soConnectTimeout);
74 int getConnectTimeout()
const;
76 void setOutputBufferSize(
int outputBufferSize);
77 int getOutputBufferSize()
const;
79 void setInputBufferSize(
int inputBufferSize);
80 int getInputBufferSize()
const;
82 void setTrace(
bool trace);
85 void setLinger(
int soLinger);
86 int getLinger()
const;
88 void setKeepAlive(
bool soKeepAlive);
89 bool isKeepAlive()
const;
91 void setReceiveBufferSize(
int soReceiveBufferSize);
92 int getReceiveBufferSize()
const;
94 void setSendBufferSize(
int soSendBufferSize);
95 int getSendBufferSize()
const;
97 void setTcpNoDelay(
bool tcpNoDelay);
98 bool isTcpNoDelay()
const;
106 virtual bool isConnected()
const;
112 virtual void beforeNextIsStarted();
114 virtual void afterNextIsStopped();
116 virtual void doClose();
#define AMQCPP_API
Definition: Config.h:30
Implements a TCP/IP based transport filter, this transport is meant to wrap an instance of an IOTrans...
Definition: TcpTransport.h:48
A filter on the transport layer.
Definition: TransportFilter.h:44
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
virtual bool isFaultTolerant() const
Is this Transport fault tolerant, meaning that it will reconnect to a broker on disconnect.
Definition: TcpTransport.h:102