mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 12:18:04 +01:00
prefix-style message filtering added
This commit is contained in:
10
src/sub.hpp
10
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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user