diff options
author | Alan Conway <aconway@apache.org> | 2008-09-03 03:21:00 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-09-03 03:21:00 +0000 |
commit | e8f6b7cd234088e7c33e42eb10e29719ea8e8aa9 (patch) | |
tree | 2d7df29ebba337fbbe28aa7716f0e32ff9e24c70 /cpp/src/qpid/cluster/ConnectionCodec.cpp | |
parent | 05b6583dc0d080d6bc5a0cca09218bb045090daf (diff) | |
download | qpid-python-e8f6b7cd234088e7c33e42eb10e29719ea8e8aa9.tar.gz |
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
Diffstat (limited to 'cpp/src/qpid/cluster/ConnectionCodec.cpp')
-rw-r--r-- | cpp/src/qpid/cluster/ConnectionCodec.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
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(); } |