summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/client/ClientChannel.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-04-04 15:45:37 +0000
committerAlan Conway <aconway@apache.org>2007-04-04 15:45:37 +0000
commiteca38193ce566223a713185f505ff49f921535b3 (patch)
tree6fd4e58f2f9ffc43d8c4ac2ab6dec7dd2729eda3 /qpid/cpp/src/client/ClientChannel.h
parentc378f175f08edf5d7e72e99dd604a1ba8c8e7167 (diff)
downloadqpid-python-eca38193ce566223a713185f505ff49f921535b3.tar.gz
* Made client::Channel bi-modal: 0-8 or 0-9 modes.
* Added dummy impl of client::MessageMessageChannel. * Generalised ClientChannelTest to be able to test both modes. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@525542 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/client/ClientChannel.h')
-rw-r--r--qpid/cpp/src/client/ClientChannel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/src/client/ClientChannel.h b/qpid/cpp/src/client/ClientChannel.h
index a7e0d2ec31..cf2ea1dbe5 100644
--- a/qpid/cpp/src/client/ClientChannel.h
+++ b/qpid/cpp/src/client/ClientChannel.h
@@ -112,6 +112,7 @@ class Channel : public framing::ChannelAdapter
friend class MessageMessageChannel; // for sendAndReceive.
public:
+ enum InteropMode { AMQP_08, AMQP_09 };
/**
* Creates a channel object.
@@ -130,7 +131,7 @@ class Channel : public framing::ChannelAdapter
*/
Channel(
bool transactional = false, u_int16_t prefetch = 500,
- MessageChannel* messageImpl = 0);
+ InteropMode=AMQP_08);
~Channel();