golden hour
/opt/saltstack/salt/lib/python3.10/site-packages/zmq/green/__pycache__
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.cpython-310.pyc
975 B
Del
OK
core.cpython-310.pyc
7.22 KB
Del
OK
device.cpython-310.pyc
944 B
Del
OK
poll.cpython-310.pyc
2.17 KB
Del
OK
Edit: device.cpython-310.pyc
o �xe� � @ s d dl Z d dlmZ dd� ZdS )� N)�Pollerc C sj t � }|dkr |}|�|tj� |�|tj� t|�� �}||v r)|�|�� � ||v r4|�|�� � 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�device s �r )r Z zmq.greenr r r r r r �<module> s
Save