From 6005ad88685a4bad8bdaa986a8b94fdffc51b31e Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 10 Jan 2008 22:50:23 +0000 Subject: Client always collects at least an entire frameset into a single buffer when possible. Based on patch from Gordon Sim. - Refactor Connector::writebuff, ::send as Connector::Writer - Collect frames up to EOF notifying AIO write. - Encode all available complete framesets into buffers as compactly as possible. - Logging buffer size and frames encoded per write for client and broker. - framing::Buffer added getPosition(), getSize(), default ctor, copy ctor. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@610972 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/framing/Buffer.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cpp/src/qpid/framing/Buffer.cpp') diff --git a/cpp/src/qpid/framing/Buffer.cpp b/cpp/src/qpid/framing/Buffer.cpp index b42797414f..7eadf377b9 100644 --- a/cpp/src/qpid/framing/Buffer.cpp +++ b/cpp/src/qpid/framing/Buffer.cpp @@ -47,10 +47,6 @@ void Buffer::reset(){ position = 0; } -uint32_t Buffer::available(){ - return size - position; -} - /////////////////////////////////////////////////// void Buffer::putOctet(uint8_t i){ -- cgit v1.2.1