Go to the documentation of this file.
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;
110 virtual void beforeNextIsStarted();
112 virtual void afterNextIsStopped();
114 virtual void doClose();