summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Event.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-07-01 21:58:40 +0000
committerAlan Conway <aconway@apache.org>2009-07-01 21:58:40 +0000
commit4ceab39ad4caa3e1769ead86291b8f4297488fd8 (patch)
tree83e0533ec3bcaa3c63e27daac8d1614ab6997141 /cpp/src/qpid/cluster/Event.h
parent205287377cf6d24b461ef336b268294f860862a3 (diff)
downloadqpid-python-4ceab39ad4caa3e1769ead86291b8f4297488fd8.tar.gz
Fix members joining cluster while cluster is handling client errors.
Completes the previous incomplete fix in r790163. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@790397 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Event.h')
-rw-r--r--cpp/src/qpid/cluster/Event.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/Event.h b/cpp/src/qpid/cluster/Event.h
index 76ba88a87f..3175dd9ed2 100644
--- a/cpp/src/qpid/cluster/Event.h
+++ b/cpp/src/qpid/cluster/Event.h
@@ -95,7 +95,7 @@ class Event : public EventHeader {
char* getStore() { return store; }
const char* getStore() const { return store; }
- framing::AMQFrame getFrame() const;
+ const framing::AMQFrame& getFrame() const;
operator framing::Buffer() const;
@@ -105,8 +105,10 @@ class Event : public EventHeader {
void encodeHeader() const;
RefCountedBuffer::pointer store;
+ mutable framing::AMQFrame frame;
};
+std::ostream& operator << (std::ostream&, const Event&);
std::ostream& operator << (std::ostream&, const EventHeader&);
}} // namespace qpid::cluster