ok

Mini Shell

Direktori : /opt/alt/python38/lib64/python3.8/asyncio/__pycache__/
Upload File :
Current File : //opt/alt/python38/lib64/python3.8/asyncio/__pycache__/transports.cpython-38.opt-2.pyc

U

.��c�(�@sxdZGdd�d�ZGdd�de�ZGdd�de�ZGdd�dee�ZGd	d
�d
e�ZGdd�de�ZGd
d�de�ZdS))�
BaseTransport�
ReadTransport�WriteTransport�	Transport�DatagramTransport�SubprocessTransportc@sDeZdZdZddd�Zddd�Zdd�Zd	d
�Zdd�Zd
d�Z	dS)r��_extraNcCs|dkri}||_dS�Nr)�self�extra�r�7/opt/alt/python38/lib64/python3.8/asyncio/transports.py�__init__szBaseTransport.__init__cCs|j�||�Sr	)r�get)r
�name�defaultrrr
�get_extra_infoszBaseTransport.get_extra_infocCst�dSr	��NotImplementedError�r
rrr
�
is_closingszBaseTransport.is_closingcCst�dSr	rrrrr
�closeszBaseTransport.closecCst�dSr	r)r
�protocolrrr
�set_protocol%szBaseTransport.set_protocolcCst�dSr	rrrrr
�get_protocol)szBaseTransport.get_protocol)N)N)
�__name__�
__module__�__qualname__�	__slots__rrrrrrrrrr
r	s


rc@s(eZdZdZdd�Zdd�Zdd�ZdS)	rrcCst�dSr	rrrrr
�
is_reading3szReadTransport.is_readingcCst�dSr	rrrrr
�
pause_reading7szReadTransport.pause_readingcCst�dSr	rrrrr
�resume_reading?szReadTransport.resume_readingN)rrrrrr r!rrrr
r.src@sJeZdZdZddd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dS)rrNcCst�dSr	r�r
�high�lowrrr
�set_write_buffer_limitsMsz&WriteTransport.set_write_buffer_limitscCst�dSr	rrrrr
�get_write_buffer_sizebsz$WriteTransport.get_write_buffer_sizecCst�dSr	r)r
�datarrr
�writefszWriteTransport.writecCsd�|�}|�|�dS)N�)�joinr()r
Zlist_of_datar'rrr
�
writelinesns
zWriteTransport.writelinescCst�dSr	rrrrr
�	write_eofwszWriteTransport.write_eofcCst�dSr	rrrrr
�
can_write_eof�szWriteTransport.can_write_eofcCst�dSr	rrrrr
�abort�szWriteTransport.abort)NN)rrrrr%r&r(r+r,r-r.rrrr
rHs
		rc@seZdZdZdS)rrN)rrrrrrrr
r�src@s"eZdZdZddd�Zdd�ZdS)rrNcCst�dSr	r)r
r'Zaddrrrr
�sendto�szDatagramTransport.sendtocCst�dSr	rrrrr
r.�szDatagramTransport.abort)N)rrrrr/r.rrrr
r�s

rc@s@eZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Z	dS)rrcCst�dSr	rrrrr
�get_pid�szSubprocessTransport.get_pidcCst�dSr	rrrrr
�get_returncode�sz"SubprocessTransport.get_returncodecCst�dSr	r)r
�fdrrr
�get_pipe_transport�sz&SubprocessTransport.get_pipe_transportcCst�dSr	r)r
�signalrrr
�send_signal�szSubprocessTransport.send_signalcCst�dSr	rrrrr
�	terminate�szSubprocessTransport.terminatecCst�dSr	rrrrr
�kill�s	zSubprocessTransport.killN)
rrrrr0r1r3r5r6r7rrrr
r�srcsVeZdZdZd�fdd�	Zdd�Zdd�Zd	d
�Zddd�Zdd
d�Z	dd�Z
�ZS)�_FlowControlMixin)�_loop�_protocol_paused�_high_water�
_low_waterNcs$t��|�||_d|_|��dS)NF)�superrr9r:�_set_write_buffer_limits)r
rZloop��	__class__rr
rsz_FlowControlMixin.__init__c
Cs�|��}||jkrdS|js�d|_z|j��WnRttfk
rJ�Yn:tk
r�}z|j�	d|||jd��W5d}~XYnXdS)NTzprotocol.pause_writing() failed��messageZ	exceptionZ	transportr)
r&r;r:�	_protocolZ
pause_writing�
SystemExit�KeyboardInterrupt�
BaseExceptionr9�call_exception_handler)r
�size�excrrr
�_maybe_pause_protocols 
�z'_FlowControlMixin._maybe_pause_protocolc
Cs�|jr||��|jkr|d|_z|j��WnRttfk
rB�Yn:tk
rz}z|j�	d|||jd��W5d}~XYnXdS)NFz protocol.resume_writing() failedrA)
r:r&r<rCZresume_writingrDrErFr9rG)r
rIrrr
�_maybe_resume_protocol!s��z(_FlowControlMixin._maybe_resume_protocolcCs|j|jfSr	)r<r;rrrr
�get_write_buffer_limits1sz)_FlowControlMixin.get_write_buffer_limitscCsj|dkr|dkrd}nd|}|dkr.|d}||krBdksZntd|�d|�d���||_||_dS)Ni��zhigh (z) must be >= low (z) must be >= 0)�
ValueErrorr;r<r"rrr
r>4s�z*_FlowControlMixin._set_write_buffer_limitscCs|j||d�|��dS)N)r#r$)r>rJr"rrr
r%Dsz)_FlowControlMixin.set_write_buffer_limitscCst�dSr	rrrrr
r&Hsz'_FlowControlMixin.get_write_buffer_size)NN)NN)NN)rrrrrrJrKrLr>r%r&�
__classcell__rrr?r
r8�s

r8N)�__all__rrrrrrr8rrrr
�<module>s%F6

Zerion Mini Shell 1.0