summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/ChannelHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/client/ChannelHandler.h')
-rw-r--r--cpp/src/qpid/client/ChannelHandler.h5
1 files changed, 4 insertions, 1 deletions
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);