summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Connection.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-01-27 01:44:02 +0000
committerAlan Conway <aconway@apache.org>2009-01-27 01:44:02 +0000
commit57acf95c94d52b15b2ad6e6038bf3390d9063282 (patch)
treee7b07be0e204b1e9f4bda85be345efd9dcabca44 /cpp/src/qpid/cluster/Connection.h
parentd40d874132bc5011a76bd883fdf9d2507a2f8149 (diff)
downloadqpid-python-57acf95c94d52b15b2ad6e6038bf3390d9063282.tar.gz
cluster: Add sequence number to events & frames
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@737968 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Connection.h')
-rw-r--r--cpp/src/qpid/cluster/Connection.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/qpid/cluster/Connection.h b/cpp/src/qpid/cluster/Connection.h
index 29dee5eda4..3b18e22d17 100644
--- a/cpp/src/qpid/cluster/Connection.h
+++ b/cpp/src/qpid/cluster/Connection.h
@@ -26,7 +26,6 @@
#include "WriteEstimate.h"
#include "OutputInterceptor.h"
#include "NoOpConnectionOutputHandler.h"
-#include "Event.h"
#include "EventFrame.h"
#include "qpid/broker/Connection.h"
@@ -62,7 +61,7 @@ class Connection :
{
public:
- typedef sys::PollableQueue<EventFrame> EventFrameQueue;
+ typedef sys::PollableQueue<EventFrame> PollableFrameQueue;
/** Local connection, use this in ConnectionId */
Connection(Cluster&, sys::ConnectionOutputHandler& out, const std::string& id, MemberId, bool catchUp, bool isLink);
@@ -102,7 +101,7 @@ class Connection :
size_t decode(const char* buffer, size_t size);
// Called for data delivered from the cluster.
- void deliveredEvent(const Event&, EventFrameQueue&);
+ void deliveredEvent(const Event&, PollableFrameQueue&);
void deliveredFrame(const EventFrame&);
void consumerState(const std::string& name, bool blocked, bool notifyEnabled);