diff options
Diffstat (limited to 'cpp/lib/common/framing/ChannelAdapter.h')
-rw-r--r-- | cpp/lib/common/framing/ChannelAdapter.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/lib/common/framing/ChannelAdapter.h b/cpp/lib/common/framing/ChannelAdapter.h index 60615740ad..b2a5ef6ff5 100644 --- a/cpp/lib/common/framing/ChannelAdapter.h +++ b/cpp/lib/common/framing/ChannelAdapter.h @@ -54,7 +54,7 @@ class ChannelAdapter : public BodyHandler, public OutputHandler { /** *@param output Processed frames are forwarded to this handler. */ - ChannelAdapter() : id(0), out(0) {} + ChannelAdapter() : context(0), id(0), out(0) {} /** Initialize the channel adapter. */ void init(ChannelId, OutputHandler&, const ProtocolVersion&); @@ -92,6 +92,9 @@ class ChannelAdapter : public BodyHandler, public OutputHandler { RequestId getRequestInProgress() { return requestInProgress; } + protected: + MethodContext context; + private: ChannelId id; OutputHandler* out; |