From 7be7962f9802b48e66663416097eb76edfa83e1e Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Fri, 11 Sep 2009 16:23:16 +0200 Subject: prefix-style message filtering added --- src/sub.hpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/sub.hpp') diff --git a/src/sub.hpp b/src/sub.hpp index 1d4fdf9..c88d30c 100644 --- a/src/sub.hpp +++ b/src/sub.hpp @@ -41,9 +41,15 @@ namespace zmq private: - // List of all the active subscriptions. + // Number of active "*" subscriptions. + int all_count; + + // List of all prefix subscriptions. typedef std::multiset subscriptions_t; - subscriptions_t subscriptions; + subscriptions_t prefixes; + + // List of all exact match subscriptions. + subscriptions_t topics; }; } -- cgit v1.2.3