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/cluster/ConnectionCodec.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cpp/src/qpid/cluster/ConnectionCodec.cpp') diff --git a/cpp/src/qpid/cluster/ConnectionCodec.cpp b/cpp/src/qpid/cluster/ConnectionCodec.cpp index cb396cd10c..f093a0cc1c 100644 --- a/cpp/src/qpid/cluster/ConnectionCodec.cpp +++ b/cpp/src/qpid/cluster/ConnectionCodec.cpp @@ -22,6 +22,7 @@ #include "Connection.h" #include "ProxyInputHandler.h" #include "qpid/broker/Connection.h" +#include "qpid/log/Statement.h" #include "qpid/memory.h" namespace qpid { @@ -54,7 +55,11 @@ ConnectionCodec::ConnectionCodec(sys::OutputControl& out, const std::string& id, ConnectionCodec::~ConnectionCodec() {} // ConnectionCodec functions delegate to the codecOutput -size_t ConnectionCodec::decode(const char* buffer, size_t size) { return codec.decode(buffer, size); } +size_t ConnectionCodec::decode(const char* buffer, size_t size) { + return interceptor->decode(buffer, size); +} + +// FIXME aconway 2008-09-02: delegate to interceptor? size_t ConnectionCodec::encode(const char* buffer, size_t size) { return codec.encode(buffer, size); } bool ConnectionCodec::canEncode() { return codec.canEncode(); } void ConnectionCodec::closed() { codec.closed(); } -- cgit v1.2.1