summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/Proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/framing/Proxy.h')
-rw-r--r--cpp/src/qpid/framing/Proxy.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/cpp/src/qpid/framing/Proxy.h b/cpp/src/qpid/framing/Proxy.h
index 86b99a83b0..3dc082097a 100644
--- a/cpp/src/qpid/framing/Proxy.h
+++ b/cpp/src/qpid/framing/Proxy.h
@@ -33,16 +33,18 @@ class AMQBody;
class Proxy
{
public:
- Proxy(FrameHandler& h) : out(h) {}
+ Proxy(FrameHandler& h);
virtual ~Proxy();
void send(const AMQBody&);
ProtocolVersion getVersion() const;
- FrameHandler& getHandler() { return out; }
- protected:
- FrameHandler& out;
+ FrameHandler& getHandler();
+ void setHandler(FrameHandler&);
+
+ private:
+ FrameHandler* out;
};
}} // namespace qpid::framing