summaryrefslogtreecommitdiff
path: root/src/sub.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sub.hpp')
-rw-r--r--src/sub.hpp10
1 files changed, 8 insertions, 2 deletions
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 <std::string> subscriptions_t;
- subscriptions_t subscriptions;
+ subscriptions_t prefixes;
+
+ // List of all exact match subscriptions.
+ subscriptions_t topics;
};
}