Meir,

Right, we need to elaborate the documentation.

Due to the language limitation, JZMQ (jncluding jeromq) could not use
the same signature, say setSockOpt. Because some options are string, some
are integers and the others are boolean. We could use java.lang.Object but
most of java developers might not like it.

Anyhow documentation is still important and we need to publish the java doc
somewhere under the api.zeomq.org. Most of all we might need volunteers for
better documentation.

Thank you for pointing a weakness.

Thanks
Min

2013년 2월 2일 토요일에 Meir Yanovich님이 작성:

> i do , but im using the java binding , and its luck of documentation.
> i mean the java part . the commands are not the same as the C api .
> this is my main problem .
> from looking on the web i see im not the only one that has this problem
> with the JAVA api
>
> On Fri, Feb 1, 2013 at 6:51 PM, Pieter Hintjens <[email protected]> wrote:
>
> Meir,
>
> Before you ask questions about using 0MQ, you should read the Guide
> fully and digest at least the first chapters.
>
> -Pieter
>
> On Fri, Feb 1, 2013 at 3:16 PM, Meir Yanovich <[email protected]>
> wrote:
> > can some one please tell me why setting this :
> >   m_context = ZMQ.context(1);
> >   m_socket = m_context.socket(ZMQ.REQ);
> >   m_socket.setReceiveTimeOut(2000);
> >   m_socket.setSendTimeOut(2000);
> >
> > just dosnt work ?
> > also does the input is in seconds or milliseconds ? there is no info
> about
> > java
> >
> >
> >
> > On Fri, Feb 1, 2013 at 3:52 PM, Meir Yanovich <[email protected]>
> > wrote:
> >>
> >> ok reading the ZMQ.java where all the documentation is ....
> >>
> >>
> >> On Fri, Feb 1, 2013 at 3:31 PM, Meir Yanovich <[email protected]>
> >> wrote:
> >>>
> >>> thanks for the link , but i having trouble to find how to do this in
> the
> >>> java wrapper .
> >>> i dont see any "zmq_setsockopt" in  java .
> >>> what i use in java to init  is simple :
> >>>  m_context = ZMQ.context(1);
> >>>  m_socket = m_context.socket(ZMQ.REQ);
> >>>
> >>>
> >>> On Fri, Feb 1, 2013 at 12:42 PM, Pieter Hintjens <[email protected]>
> wrote:
> >>>>
> >>>> Here's a simple example:
> >>>> https://github.com/zeromq/libzmq/blob/master/tests/test_timeo.cpp
> >>>>
> >>>> On Fri, Feb 1, 2013 at 11:10 AM, Meir Yanovich <
> [email protected]>
> >>>> wrote:
> >>>> > can you please point me to some example .
> >>>> > thanks
> >>>> >
> >>>> >
> >>>> > On Fri, Feb 1, 2013 at 11:10 AM, Pieter Hintjens <[email protected]>
> >>>> > wrote:
> >>>> >>
> >>>> >> You can set send/receive timeouts using the ZMQ_SNDTIMEO and
> >>>> >> ZMQ_RCVTIMEO socket options.
> >>>> >>
> >>>> >> -Pieter
> >>>> >>
> >>>> >> On Fri, Feb 1, 2013 at 9:18 AM, Meir Yanovich
> >>>> >> <[email protected]>
> >>>> >> wrote:
> >>>> >> > hello all
> >>>> >> > i want to set few timeouts levels in ZeroMQ Java app .
> >>>> >> > 1. request timeout .
> >>>> >> > 2.response timeout
> >>>> >> > 3. round trip time out .
> >>>> >> > can you please point me on the right way to do this ?
> >>>> >> > Thanks
> >>>> >> >
> >>>> >> > _______________________________________________
> >>>> >> > zeromq-dev mailing list
> >>>> >> > [email protected]
> >>>> >> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >>>> >> >
> >>>> >> _______________________________________________
> >>>> >> zeromq-dev mailing list
> >>>> >> [email protected]
> >>>> >> http://lists.zeromq.org/mailman/listinfo/zeromq-d<http://lists.zeromq.org/mailman/listinfo/zeromq-dev>
>
>
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to