From 46b15e2c2f9e454fd7041f1e6ad723d093bee052 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 12 Sep 2007 14:49:12 +0000 Subject: In ClientChannel: Use subscribe and flush in place of get; use per-subscriber flow control for managing prefetches. In brokers Session: set credit to 0 when subscription is created (modified python tests accordingly) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@574979 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/ChannelHandler.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cpp/src/qpid/client/ChannelHandler.h') diff --git a/cpp/src/qpid/client/ChannelHandler.h b/cpp/src/qpid/client/ChannelHandler.h index 556e13a4f8..24c24e49c4 100644 --- a/cpp/src/qpid/client/ChannelHandler.h +++ b/cpp/src/qpid/client/ChannelHandler.h @@ -30,9 +30,12 @@ namespace client { class ChannelHandler : private StateManager, public ChainableFrameHandler { - enum STATES {OPENING, OPEN, CLOSING, CLOSED}; + enum STATES {OPENING, OPEN, CLOSING, CLOSED, CLOSED_BY_PEER}; framing::ProtocolVersion version; uint16_t id; + + uint16_t code; + std::string text; void handleMethod(framing::AMQMethodBody* method); -- cgit v1.2.1