From 978e33ba253a997b41b331b449b474a5cee7bccc Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Mon, 23 Jan 2012 08:54:31 +0100 Subject: Imported Upstream version 2.1.10 --- doc/zmq_device.html | 132 ++++++++++++++++++++++++++-------------------------- 1 file changed, 65 insertions(+), 67 deletions(-) (limited to 'doc/zmq_device.html') diff --git a/doc/zmq_device.html b/doc/zmq_device.html index f5ea972..06ce951 100644 --- a/doc/zmq_device.html +++ b/doc/zmq_device.html @@ -2,28 +2,15 @@ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> - - + + zmq_device(3) - +
-

SYNOPSIS

int zmq_device (int device, const void *frontend, const void *backend);

-
-

DESCRIPTION

The zmq_device() function starts a built-in ØMQ device. The device argument @@ -629,8 +646,6 @@ bind both frontend and backend sockets. The two conventional device models are:<

zmq_device() runs in the current thread and returns only if/when the current context is closed.

-
-

QUEUE DEVICE

ZMQ_QUEUE creates a shared queue that collects requests from a set of clients, @@ -643,8 +658,6 @@ clients and the backend speaks to services. You should use ZMQ_QUEUE wi Other combinations are not documented.

Refer to zmq_socket(3) for a description of these socket types.

-
-

FORWARDER DEVICE

ZMQ_FORWARDER collects messages from a set of publishers and forwards these to @@ -656,8 +669,6 @@ publishers and the backend speaks to subscribers. You should use for the backend. Other combinations are not documented.

Refer to zmq_socket(3) for a description of these socket types.

-
-

STREAMER DEVICE

ZMQ_STREAMER collects tasks from a set of pushers and forwards these to a set @@ -669,15 +680,11 @@ and the backend speaks to pullers. You should use ZMQ_STREAMER with a Other combinations are not documented.

Refer to zmq_socket(3) for a description of these socket types.

-
-

RETURN VALUE

The zmq_device() function always returns -1 and errno set to ETERM (the ØMQ context associated with either of the specified sockets was terminated).

-
-

EXAMPLE

@@ -695,8 +702,6 @@ assert (zmq_bind (backend, "tcp://*:5556") == 0); zmq_device (ZMQ_QUEUE, frontend, backend);
-
-

SEE ALSO

zmq_bind(3) @@ -704,21 +709,15 @@ zmq_device (ZMQ_QUEUE, frontend, backend); zmq_socket(3) zmq(7)

-
-

AUTHORS

This ØMQ manual page was written by Pieter Hintjens <ph@imatix.com>

-
-

RESOURCES

Main web site: http://www.zeromq.org/

Report bugs to the ØMQ development mailing list: <zeromq-dev@lists.zeromq.org>

-
-

COPYING

Free use of this software is granted under the terms of the GNU Lesser General @@ -726,12 +725,11 @@ Public License (LGPL). For details see the files COPYING and COPYIN included with the ØMQ distribution.

-

-- cgit v1.2.3