HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/saltstack/salt/lib/python3.10/site-packages/zmq/green/__pycache__/device.cpython-310.pyc
o

�N�g��@s ddlZddlmZdd�ZdS)�N)�PollercCsjt�}|dkr	|}|�|tj�|�|tj�	t|���}||vr)|�|���||vr4|�|���q)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�pollZsend_multipartZrecv_multipart)Zdevice_typeZisocketZosocket�p�events�r�D/opt/saltstack/salt/lib/python3.10/site-packages/zmq/green/device.py�devices�r
)rZ	zmq.greenrr
rrrr�<module>s