From d7adc3f19a4c941e854552d6d7881950a69b0d23 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Mon, 11 Jul 2011 09:57:59 +0200 Subject: ZMQ_FILTER option removed The filtering is now done depending on the socket type. SUB socket filters the messages (end-to-end filtering) while XSUB relies on upstream nodes to do (imprefect) filtering. Signed-off-by: Martin Sustrik --- doc/zmq_getsockopt.txt | 17 ----------------- doc/zmq_setsockopt.txt | 16 ---------------- 2 files changed, 33 deletions(-) (limited to 'doc') diff --git a/doc/zmq_getsockopt.txt b/doc/zmq_getsockopt.txt index 09256c2..51b6c9e 100644 --- a/doc/zmq_getsockopt.txt +++ b/doc/zmq_getsockopt.txt @@ -320,23 +320,6 @@ Default value:: 1 Applicable socket types:: all, when using multicast transports -ZMQ_FILTER: Switches message filtering on or off -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -The option shall retrieve the filtering behaiour of the socket. -If 1, messages are filtered according to subcriptions as expected. -If 0, messages are not filtered. This is a performance tweak. If a device -receives a message from XSUB socket and it is about to send it to XPUB socket -immediately, filtering would be done twice. We can thus turn off filtering in -XSUB socket and rely on filtering in XPUB socket. - -[horizontal] -Option value type:: int -Option value unit:: boolean -Default value:: 1 -Applicable socket types:: ZMQ_SUB, ZMQ_XSUB - - ZMQ_RCVTIMEO: Maximum time before a socket operation returns with EAGAIN ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/doc/zmq_setsockopt.txt b/doc/zmq_setsockopt.txt index 0093085..8bc9e8f 100644 --- a/doc/zmq_setsockopt.txt +++ b/doc/zmq_setsockopt.txt @@ -312,22 +312,6 @@ Default value:: 1 Applicable socket types:: all, when using multicast transports -ZMQ_FILTER: Switches message filtering on or off -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -If set to 1, messages are filtered according to subcriptions as expected. -If set to 0, messages are not filtered. This is a performance tweak. If a device -receives a message from XSUB socket and it is about to send it to XPUB socket -immediately, filtering would be done twice. We can thus turn off filtering in -XSUB socket and rely on filtering in XPUB socket. - -[horizontal] -Option value type:: int -Option value unit:: boolean -Default value:: 1 -Applicable socket types:: ZMQ_SUB, ZMQ_XSUB - - ZMQ_RCVTIMEO: Maximum time before a recv operation returns with EAGAIN ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.2.3