mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-15 02:07:59 +08:00
doc: Update zmq_socket(3) for 2.0.8 API changes
This commit is contained in:
parent
26b39bcdef
commit
ee3444ff93
@ -216,22 +216,24 @@ is connected to at least one _node_. When a pipeline stage is connected to
|
|||||||
multiple _nodes_ data is load-balanced among all connected _nodes_.
|
multiple _nodes_ data is load-balanced among all connected _nodes_.
|
||||||
|
|
||||||
|
|
||||||
ZMQ_DOWNSTREAM
|
ZMQ_PUSH
|
||||||
^^^^^^^^^^^^^^
|
^^^^^^^^
|
||||||
A socket of type 'ZMQ_DOWNSTREAM' is used by a pipeline _node_ to send messages
|
A socket of type 'ZMQ_PUSH' is used by a pipeline _node_ to send messages
|
||||||
to downstream pipeline _nodes_. Messages are load-balanced to all connected
|
to downstream pipeline _nodes_. Messages are load-balanced to all connected
|
||||||
downstream _nodes_. The _zmq_recv()_ function is not implemented for this
|
downstream _nodes_. The _zmq_recv()_ function is not implemented for this
|
||||||
socket type.
|
socket type.
|
||||||
|
|
||||||
When a 'ZMQ_DOWNSTREAM' socket enters an exceptional state due to having
|
When a 'ZMQ_PUSH' socket enters an exceptional state due to having reached the
|
||||||
reached the high water mark for all downstream _nodes_, or if there are no
|
high water mark for all downstream _nodes_, or if there are no downstream
|
||||||
downstream _nodes_ at all, then any linkzmq:zmq_send[3] operations on the
|
_nodes_ at all, then any linkzmq:zmq_send[3] operations on the socket shall
|
||||||
socket shall block until the exceptional state ends or at least one downstream
|
block until the exceptional state ends or at least one downstream _node_
|
||||||
_node_ becomes available for sending; messages are not discarded.
|
becomes available for sending; messages are not discarded.
|
||||||
|
|
||||||
|
Deprecated alias: 'ZMQ_DOWNSTREAM'.
|
||||||
|
|
||||||
[horizontal]
|
[horizontal]
|
||||||
.Summary of ZMQ_DOWNSTREAM characteristics
|
.Summary of ZMQ_PUSH characteristics
|
||||||
Compatible peer sockets:: 'ZMQ_UPSTREAM'
|
Compatible peer sockets:: 'ZMQ_PULL'
|
||||||
Direction:: Unidirectional
|
Direction:: Unidirectional
|
||||||
Send/receive pattern:: Send only
|
Send/receive pattern:: Send only
|
||||||
Incoming routing strategy:: N/A
|
Incoming routing strategy:: N/A
|
||||||
@ -239,16 +241,18 @@ Outgoing routing strategy:: Load-balanced
|
|||||||
ZMQ_HWM option action:: Block
|
ZMQ_HWM option action:: Block
|
||||||
|
|
||||||
|
|
||||||
ZMQ_UPSTREAM
|
ZMQ_PULL
|
||||||
^^^^^^^^^^^^
|
^^^^^^^^
|
||||||
A socket of type 'ZMQ_UPSTREAM' is used by a pipeline _node_ to receive
|
A socket of type 'ZMQ_PULL' is used by a pipeline _node_ to receive messages
|
||||||
messages from upstream pipeline _nodes_. Messages are fair-queued from among
|
from upstream pipeline _nodes_. Messages are fair-queued from among all
|
||||||
all connected upstream _nodes_. The _zmq_send()_ function is not implemented
|
connected upstream _nodes_. The _zmq_send()_ function is not implemented for
|
||||||
for this socket type.
|
this socket type.
|
||||||
|
|
||||||
|
Deprecated alias: 'ZMQ_UPSTREAM'.
|
||||||
|
|
||||||
[horizontal]
|
[horizontal]
|
||||||
.Summary of ZMQ_UPSTREAM characteristics
|
.Summary of ZMQ_PULL characteristics
|
||||||
Compatible peer sockets:: 'ZMQ_DOWNSTREAM'
|
Compatible peer sockets:: 'ZMQ_PUSH'
|
||||||
Direction:: Unidirectional
|
Direction:: Unidirectional
|
||||||
Send/receive pattern:: Receive only
|
Send/receive pattern:: Receive only
|
||||||
Incoming routing strategy:: Fair-queued
|
Incoming routing strategy:: Fair-queued
|
||||||
|
Loading…
x
Reference in New Issue
Block a user