AlkantarClanX12

Your IP : 18.117.158.10


Current Path : /opt/alt/python39/lib64/python3.9/multiprocessing/dummy/__pycache__/
Upload File :
Current File : //opt/alt/python39/lib64/python3.9/multiprocessing/dummy/__pycache__/connection.cpython-39.pyc

a

R�f>�@sPgd�ZddlmZdgZGdd�de�Zdd�Zd
d	d
�ZGdd�de�ZdS))�Client�Listener�Pipe�)�QueueNc@sBeZdZddd�Zdd�Zdd�Zed	d
��Zdd�Zd
d�Z	dS)rN�cCst|�|_dS�N)r�_backlog_queue)�self�addressZfamilyZbacklog�r�E/opt/alt/python39/lib64/python3.9/multiprocessing/dummy/connection.py�__init__szListener.__init__cCst|j���Sr)�
Connectionr�get�r	rrr�acceptszListener.acceptcCs
d|_dSr�rrrrr�closeszListener.closecCs|jSrrrrrrr
szListener.addresscCs|Srrrrrr�	__enter__!szListener.__enter__cCs|��dSr�r�r	�exc_type�	exc_valueZexc_tbrrr�__exit__$szListener.__exit__)NNr)
�__name__�
__module__�__qualname__r
rr�propertyr
rrrrrrrs

rcCs&t�t�}}|�||f�t||�Sr)r�putr)r
�_in�_outrrrr(srTcCs"t�t�}}t||�t||�fSr)rr)Zduplex�a�brrrr.src@s6eZdZdd�Zd
dd�Zdd�Zdd	�Zd
d�ZdS)rcCs,||_||_|j|_|_|j|_|_dSr)r rr�sendZ
send_bytesrZrecvZ
recv_bytes)r	rr rrrr
5szConnection.__init__�cCsb|j��dkrdS|dkrdS|jj�|jj�|�Wd�n1sJ0Y|j��dkS)NrTr$F)rZqsizeZ	not_empty�wait)r	Ztimeoutrrr�poll;s
,zConnection.pollcCsdSrrrrrrrDszConnection.closecCs|SrrrrrrrGszConnection.__enter__cCs|��dSrrrrrrrJszConnection.__exit__N)r$)rrrr
r&rrrrrrrr3s

	r)T)	�__all__ZqueuerZfamilies�objectrrrrrrrr�<module>
s