| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/zmq/green/__pycache__/ |
Upload File : |
�
mc�c� � � � d dl Z d dlmZ d� ZdS )� N)�Pollerc � � t � � }|dk r|}|� |t j � � |� |t j � � t |� � � � � }||v r'|� |� � � � � ||v r'|� |� � � � � �x)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 �2/usr/lib/python3/dist-packages/zmq/green/device.py�devicer s� � � ���A��"�}�}����J�J�w��
�#�#�#��J�J�w��
�#�#�#�=��a�f�f�h�h�����f����"�"�7�#9�#9�#;�#;�<�<�<��f����"�"�7�#9�#9�#;�#;�<�<�<�=� )r � zmq.greenr r � r r �<module>r s; �� �
�
�
� � � � � � �=� =� =� =� =r