From e8f6b7cd234088e7c33e42eb10e29719ea8e8aa9 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 3 Sep 2008 03:21:00 +0000 Subject: Cluster multicasts buffers rather than frames. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@691489 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/framing/AMQFrame.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpp/src/qpid/framing/AMQFrame.h') diff --git a/cpp/src/qpid/framing/AMQFrame.h b/cpp/src/qpid/framing/AMQFrame.h index 5a8e55f9d2..331a57e08d 100644 --- a/cpp/src/qpid/framing/AMQFrame.h +++ b/cpp/src/qpid/framing/AMQFrame.h @@ -104,7 +104,10 @@ class AMQFrame : public AMQDataBlock bool getEos() const { return eos; } void setEos(bool isEos) { eos = isEos; } + static uint16_t DECODE_SIZE_MIN; static uint32_t frameOverhead(); + /** Must point to at least DECODE_SIZE_MIN bytes of data */ + static uint16_t decodeSize(char* data); private: void init() { bof = eof = bos = eos = true; subchannel=0; channel=0; } -- cgit v1.2.1