
    f                    *    d dl mZ d dlZd dlmZ d Zy)    )annotationsN)Pollerc                f   t               }|dk(  r|}|j                  |t        j                         |j                  |t        j                         	 t	        |j                               }||v r|j                  |j                                ||v r|j                  |j                                `)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.
    )r   registerzmqPOLLINdictpollsend_multipartrecv_multipart)device_typeisocketosocketpeventss        K/var/www/cvtools/html/venv/lib/python3.12/site-packages/zmq/green/device.pydevicer   	   s     	A"}JJw

#JJw

#
affhf""7#9#9#;<f""7#9#9#;<     )
__future__r   r   	zmq.greenr   r    r   r   <module>r      s    # 
 =r   