[zeromq-dev] A simple C++ wrapper of zmq::poll

Martin Sustrik sustrik at 250bpm.com
Wed Aug 25 10:40:21 CEST 2010


I haven't had a chance to check the code yet, but how does this relate 
to Matt's "reactor pattern"?

Martin

On 08/25/2010 10:36 AM, Pieter Hintjens wrote:
> Hi Radu,
>
> I've added your project to the increasingly long list of projects on
> the Labs page: http://www.zeromq.org/docs:labs.
>
> -Pieter
>
> On Wed, Aug 25, 2010 at 6:16 AM, Radu Braniste<rbraniste at gmail.com>  wrote:
>> Why another wrapper?
>> The usual idiom used when writing zmq::poll based code is based on a block
>> of if_conditions, testing for the occurrence of one event or the other.
>> This might be error prone and hard to maintain in the long run.
>> And this is where the wrapper comes handy: it separates poll functionality
>> from actions and state (4 different ways to do it) and provides the boiler
>> plate of zmq::poll functionality.
>> http://github.com/radub-mtl/zmq--poll-wrapper
>>
>> Hope you'll find it useful!
>> Radu
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>>
>
>
>




More information about the zeromq-dev mailing list