[zeromq-dev] How to setup timeout in for stages in multi threaded client server app
Meir Yanovich
meiryanovich at gmail.com
Fri Feb 1 14:31:14 CET 2013
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 <ph at imatix.com> 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 <meiryanovich at gmail.com>
> wrote:
> > can you please point me to some example .
> > thanks
> >
> >
> > On Fri, Feb 1, 2013 at 11:10 AM, Pieter Hintjens <ph at imatix.com> 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 <meiryanovich at gmail.com>
> >> 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
> >> > zeromq-dev at lists.zeromq.org
> >> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >> >
> >> _______________________________________________
> >> zeromq-dev mailing list
> >> zeromq-dev at lists.zeromq.org
> >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >
> >
> >
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130201/22ac7719/attachment.htm>
More information about the zeromq-dev
mailing list