File: //lib64/python3.6/site-packages/zmq/green/__pycache__/device.cpython-36.opt-1.pyc
3
VS�_� � @ s d dl Z d dlmZ dd� ZdS )� N)�Pollerc C sp t � }|dkr|}|j|tj� |j|tj� x<t|j� �}||krR|j|j� � ||kr0|j|j� � q0W dS )a� Start a zeromq device (gevent-compatible).
Unlike the true zmq.device, this does not release the GIL.
Parameters
----------
device_type : (QUEUE, FORWARDER, STREAMER)
The type of device to start (ignored).
isocket : Socket
The Socket instance for the incoming traffic.
osocket : Socket
The Socket instance for the outbound traffic.
� N���)r �register�zmqZPOLLIN�dictZpollZsend_multipartZrecv_multipart)Zdevice_typeZisocketZosocket�pZevents� r �/usr/lib64/python3.6/device.py�device s r )r Z zmq.greenr r r r r r
�<module> s