summaryrefslogtreecommitdiff
path: root/src/xpub.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-05-31 16:21:17 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-05-31 16:21:17 +0200
commitee7313b4d896e9f7ff6a035395b20f617e4ff796 (patch)
tree3406da465b5a51e379fc5295a949c3aaac69d820 /src/xpub.hpp
parenta24a7c15a824bb48da38809bff9416673dc5a176 (diff)
Subscriptions are processed immediately in XPUB socket
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/xpub.hpp')
-rw-r--r--src/xpub.hpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/xpub.hpp b/src/xpub.hpp
index b824548..c5d64b5 100644
--- a/src/xpub.hpp
+++ b/src/xpub.hpp
@@ -28,7 +28,6 @@
#include "array.hpp"
#include "blob.hpp"
#include "dist.hpp"
-#include "fq.hpp"
namespace zmq
{
@@ -53,10 +52,6 @@ namespace zmq
private:
- // Applies the subscription to the trie. Return false if it is a
- // duplicate.
- bool apply_subscription (class msg_t *sub_, class pipe_t *pipe_);
-
// Function to be applied to the trie to send all the subsciptions
// upstream.
static void send_unsubscription (unsigned char *data_, size_t size_,
@@ -68,9 +63,6 @@ namespace zmq
// Distributor of messages holding the list of outbound pipes.
dist_t dist;
- // Object to fair-queue the subscription requests.
- fq_t fq;
-
// List of pending (un)subscriptions, ie. those that were already
// applied to the trie, but not yet received by the user.
typedef std::deque <blob_t> pending_t;