summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/ConnectionDecoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/cluster/ConnectionDecoder.h')
-rw-r--r--cpp/src/qpid/cluster/ConnectionDecoder.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/qpid/cluster/ConnectionDecoder.h b/cpp/src/qpid/cluster/ConnectionDecoder.h
index 5f139b23e9..449387c1cc 100644
--- a/cpp/src/qpid/cluster/ConnectionDecoder.h
+++ b/cpp/src/qpid/cluster/ConnectionDecoder.h
@@ -30,6 +30,8 @@ namespace cluster {
class EventHeader;
class EventFrame;
+class ConnectionMap;
+
/**
* Decodes delivered connection data Event's as EventFrame's for a
* connection replica, local or shadow. Manages state for frame
@@ -47,12 +49,11 @@ class ConnectionDecoder
/** Takes EventHeader + data rather than Event so that the caller can
* pass a pointer to connection data or a CPG buffer directly without copy.
*/
- void decode(const EventHeader& eh, const void* data);
+ void decode(const EventHeader& eh, const void* data, ConnectionMap& connections);
private:
Handler handler;
framing::FrameDecoder decoder;
- int readCredit;
};
}} // namespace qpid::cluster