On Sun, Feb 3, 2013 at 5:27 AM, John Watson <[email protected]> wrote:

> In general, I want to create an API that will look like a first-class,
> modern java API, rather than a thin wrapper over the C API.

This is IMO a really excellent idea. JZMQ is a mapping of the low
level C API, which is not that wonderful to work with.

It's the same reason we built CZMQ.

I'd encourage you to look at CZMQ and at least use some common
terminology, if you don't map to similar classes. The key features
which help a lot are:

* message = list of frames
* attached threads, connected by 'pipes'
* automatic closing of sockets when context is destroyed
* context-level linger option

I'm also thinking of writing a class to hide zmq_poll and do that more
neatly, e.g. manage tickless timers automatically.

-Pieter
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to