From f458ec7b59e6c03f59e8b33474bbe70f9a9873dc Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 13 Aug 2007 09:41:45 +0000 Subject: Fixes for QPID-544 and QPID-548 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@565284 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/lib/client/Connection.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpp/lib/client/Connection.h') 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. * -- cgit v1.2.1