summaryrefslogtreecommitdiff
path: root/cpp/src/client/ClientChannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/client/ClientChannel.h')
-rw-r--r--cpp/src/client/ClientChannel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/client/ClientChannel.h b/cpp/src/client/ClientChannel.h
index a7e0d2ec31..cf2ea1dbe5 100644
--- a/cpp/src/client/ClientChannel.h
+++ b/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();