[zeromq-dev] Delphi OOP Wrapper for ZeroMQ

Daniele Teti d.teti at bittime.it
Tue Aug 4 15:56:51 CEST 2009


Hi all,

my Delphi 2009 wrapper for ZeroMQ is available from google code:
*/
/*svn checkout 
*/http/*://danieletetidemo.googlecode.com/svn/trunk/ZeroMQlib 
danieletetidemo-read-only

In the example directory there is the Delphi version of the ChatRoom 
example (beta version).

Have Fun :-)



Pavel Gushcha wrote:
> Can I disable receiving messages from spcecified queue by 
> api_thread_t::receive()?
> Real use case: my application has one api_thread_t, it receives 
> requests, process it and sends responses. While processing request, it 
> sends/receives messages to another applications. I want to implement 
> limit for number of currently processing messages. Easiest 
> implementation for me looks like this: when number of currently 
> processing request goes above limit, i block receiving messages from 
> requests queue. In this case only messages that used in processing 
> will be received, no new request messages.
>
> Now i'm thinking about:
> 1) more complex realization with two api_thread_t, non-blocking 
> receive() and sleep() functions.
> 2) more complex realization with blocking receive() but with two 
> application threads with syncronization between them.
>
> May be threre is more elegant solution for my situation?
>
>
> Thanks for help!
> ------------------------------------------------------------------------
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>   

-- 
Daniele Teti
R&D Director & Educational
bit Time Software
www.bittime.it
www.danieleteti.it
www.codegear.it

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090804/3435711c/attachment.htm>


More information about the zeromq-dev mailing list