[zeromq-dev] How can I handle disconnection?
张沈鹏
zsp007 at gmail.com
Fri Dec 19 03:56:56 CET 2008
I saw the "Disconnection handling" in document
"""
When connection between the nodes breaks, the applications on both
sides are notified about the fact using a callback function. The name
of the object (exchange, queue) connection belongs to is passed to the
function so that if there are multiple connections you can decide
which one of them actually broke. After handling the disconnection you
can decide either to ignore the error or cause the application to
crash.
"""
But I can't find the disconnection recall function in python api ,
I also found in python api the receive is always block ,but it can
easy add the no block receive version.
But even more I want a receive with timeout :)
Finally , how can I do the ACK ?
--
http://zsp.javaeye.com/
More information about the zeromq-dev
mailing list