summaryrefslogtreecommitdiff
path: root/cpp/lib/client/Connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/lib/client/Connection.h')
-rw-r--r--cpp/lib/client/Connection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/lib/client/Connection.h b/cpp/lib/client/Connection.h
index bbf8c03b0b..2222250188 100644
--- a/cpp/lib/client/Connection.h
+++ b/cpp/lib/client/Connection.h
@@ -80,6 +80,7 @@ namespace client {
ResponseHandler responses;
volatile bool closed;
qpid::framing::ProtocolVersion version;
+ bool tcpNoDelay;
void channelException(Channel* channel, qpid::framing::AMQMethodBody* body, QpidError& e);
void error(int code, const std::string& msg, int classid = 0, int methodid = 0);
@@ -109,6 +110,8 @@ namespace client {
qpid::framing::ProtocolVersion* _version = &(qpid::framing::highestProtocolVersion));
~Connection();
+ void setTcpNoDelay(bool on);
+
/**
* Opens a connection to a broker.
*