PyZMQ Documentation

Table Of Contents

Previous topic

core.context

Next topic

core.error

This Page

core.device

Module: core.device

Python binding for 0MQ device function.

zmq.core.device.device(device_type, isocket, osocket)

Start a zeromq device.

Parameters :

device_type : (QUEUE, FORWARDER, STREAMER)

The type of device to start.

isocket : Socket

The Socket instance for the incoming traffic.

osocket : Socket

The Socket instance for the outbound traffic.