[zeromq-dev] A simple C++ wrapper of zmq::poll
Radu Braniste
rbraniste at gmail.com
Thu Aug 26 06:30:00 CEST 2010
Hi Martin,
Compared to Matt’s reactor the wrapper is:
0: a reactorJ
1: 100% C++ with different ways of expressing the event handlers (not a
choice for people looking for plain C)
2: Smaller & internal simpler
3: Allows full access at every step of polling - user can manipulate
directly & dynamically state and/or event handlers (add/remove/change)
4: Doesn’t offer any predefined “operations” that might make life easier for
the user in some scenarios – but they can be easily cooked and reused
PS: I’ve just added to the documentation a short how-to note about
adding/removing dynamically event handlers as well as an example describing
this feature (server3.cpp)
Radu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100826/d9822fc1/attachment.htm>
More information about the zeromq-dev
mailing list