Folks,
On branch poll_items:
- Updated zmq_reactor_uuid to use a more standard uuid generator.
- Fixed missing endlines, #endifs etc.
No new functionality.
zmq_reactor is being staged into production for a client, it's very
useful. The nice part is you can write a class that looks like this:
class reactor_io {
shared state;
int reactor_inbound( ... ) {
do something
has access to shared state;
}
int reactor_outbound( ... ) {
do something
has access to shared state;
}
...
int poll()
{
setup the reactors[]
do the zmq_reactor_poll() here
return poll result
}
};
Essentially, you wrap the whole reactor framework (=device) in a
single class.
I used a template<> static binding function to remove the muss and
fuss there.
Best,
Matt
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev