summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/ConnectionHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/client/ConnectionHandler.h')
-rw-r--r--cpp/src/qpid/client/ConnectionHandler.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/cpp/src/qpid/client/ConnectionHandler.h b/cpp/src/qpid/client/ConnectionHandler.h
index 5f4b454f53..61709db174 100644
--- a/cpp/src/qpid/client/ConnectionHandler.h
+++ b/cpp/src/qpid/client/ConnectionHandler.h
@@ -47,6 +47,8 @@ struct SecuritySettings;
namespace client {
+class Bounds;
+
class ConnectionHandler : private StateManager,
public ConnectionSettings,
public ChainableFrameHandler,
@@ -60,9 +62,10 @@ class ConnectionHandler : private StateManager,
class Adapter : public framing::FrameHandler
{
ConnectionHandler& handler;
+ Bounds& bounds;
public:
- Adapter(ConnectionHandler& h) : handler(h) {}
- void handle(framing::AMQFrame& f) { handler.out(f); }
+ Adapter(ConnectionHandler& h, Bounds& bounds);
+ void handle(framing::AMQFrame& f);
};
Adapter outHandler;
@@ -102,7 +105,7 @@ public:
typedef boost::function<void(uint16_t, const std::string&)> ErrorListener;
typedef boost::function<const qpid::sys::SecuritySettings*()> GetSecuritySettings;
- ConnectionHandler(const ConnectionSettings&, framing::ProtocolVersion&);
+ ConnectionHandler(const ConnectionSettings&, framing::ProtocolVersion&, Bounds&);
void received(framing::AMQFrame& f) { incoming(f); }