AlkantarClanX12

Your IP : 3.143.241.253


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

U

i�f��@s"ddlZddlZGdd�d�ZdS)�Nc@s�eZdZdZejd�dd�Zdd�Zedd��Zed	d
��Z	edd��Z
d
d�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd �Zd!d"�Zd#d$�Zd%d&�Zd'd(�Zd)d*�Zd+d,�Zd-d.�Zd/d0�Zd1d2�Zd3d4�Zd5d6�Zd7d8�Z d9d:�Z!d;d<�Z"d=d>�Z#d?d@�Z$dAdB�Z%dCdD�Z&dEdF�Z'dGdH�Z(dIdJ�Z)dKdL�Z*dMdN�Z+dOdP�Z,dQdR�Z-dSdT�Z.dUdV�Z/dWdX�Z0dYdZ�Z1d[S)\�TransportSocket��_sock)�sockcCs
||_dS�Nr)�selfr�r�3/opt/alt/python38/lib64/python3.8/asyncio/trsock.py�__init__szTransportSocket.__init__cCstjd|�d�t|d�dS)NzUsing z� on sockets returned from get_extra_info('socket') will be prohibited in asyncio 3.9. Please report your use case to bugs.python.org.)�source)�warnings�warn�DeprecationWarning)rZwhatrrr	�_nas

�zTransportSocket._nacCs|jjSr)r�family�rrrr	rszTransportSocket.familycCs|jjSr)r�typerrrr	rszTransportSocket.typecCs|jjSr)r�protorrrr	r"szTransportSocket.protocCs�d|���d|j�d|j�d|j��}|��dkr�z|��}|rN|�d|��}Wntjk
rfYnXz|��}|r�|�d|��}Wntjk
r�YnX|�d�S)	Nz<asyncio.TransportSocket fd=z	, family=z, type=z, proto=���z, laddr=z, raddr=�>)�filenorrr�getsockname�socket�error�getpeername)r�sZladdrZraddrrrr	�__repr__&s $�zTransportSocket.__repr__cCstd��dS)Nz/Cannot serialize asyncio.TransportSocket object)�	TypeErrorrrrr	�__getstate__=szTransportSocket.__getstate__cCs
|j��Sr)rrrrrr	r@szTransportSocket.filenocCs
|j��Sr)r�duprrrr	rCszTransportSocket.dupcCs
|j��Sr)r�get_inheritablerrrr	r FszTransportSocket.get_inheritablecCs|j�|�dSr)r�shutdown)rZhowrrr	r!IszTransportSocket.shutdowncOs|jj||�Sr)r�
getsockopt�r�args�kwargsrrr	r"NszTransportSocket.getsockoptcOs|jj||�dSr)r�
setsockoptr#rrr	r&QszTransportSocket.setsockoptcCs
|j��Sr)rrrrrr	rTszTransportSocket.getpeernamecCs
|j��Sr)rrrrrr	rWszTransportSocket.getsocknamecCs
|j��Sr)r�
getsockbynamerrrr	r'ZszTransportSocket.getsockbynamecCs|�d�|j��S)Nzaccept() method)rr�acceptrrrr	r(]s
zTransportSocket.acceptcOs|�d�|jj||�S)Nzconnect() method)rr�connectr#rrr	r)as
zTransportSocket.connectcOs|�d�|jj||�S)Nzconnect_ex() method)rr�
connect_exr#rrr	r*es
zTransportSocket.connect_excOs|�d�|jj||�S)Nz
bind() method)rr�bindr#rrr	r+is
zTransportSocket.bindcOs|�d�|jj||�S)Nzioctl() method)rr�ioctlr#rrr	r,ms
zTransportSocket.ioctlcOs|�d�|jj||�S)Nzlisten() method)rr�listenr#rrr	r-qs
zTransportSocket.listencCs|�d�|j��S)Nzmakefile() method)rr�makefilerrrr	r.us
zTransportSocket.makefilecOs|�d�|jj||�S)Nzsendfile() method)rr�sendfiler#rrr	r/ys
zTransportSocket.sendfilecCs|�d�|j��S)Nzclose() method)rr�closerrrr	r0}s
zTransportSocket.closecCs|�d�|j��S)Nzdetach() method)rr�detachrrrr	r1�s
zTransportSocket.detachcOs|�d�|jj||�S)Nzsendmsg_afalg() method)rr�
sendmsg_afalgr#rrr	r2�s
zTransportSocket.sendmsg_afalgcOs|�d�|jj||�S)Nzsendmsg() method)rr�sendmsgr#rrr	r3�s
zTransportSocket.sendmsgcOs|�d�|jj||�S)Nzsendto() method)rr�sendtor#rrr	r4�s
zTransportSocket.sendtocOs|�d�|jj||�S)Nz
send() method)rr�sendr#rrr	r5�s
zTransportSocket.sendcOs|�d�|jj||�S)Nzsendall() method)rr�sendallr#rrr	r6�s
zTransportSocket.sendallcOs|�d�|jj||�S)Nzset_inheritable() method)rr�set_inheritabler#rrr	r7�s
zTransportSocket.set_inheritablecCs|�d�|j�|�S)Nzshare() method)rr�share)rZ
process_idrrr	r8�s
zTransportSocket.sharecOs|�d�|jj||�S)Nzrecv_into() method)rr�	recv_intor#rrr	r9�s
zTransportSocket.recv_intocOs|�d�|jj||�S)Nzrecvfrom_into() method)rr�
recvfrom_intor#rrr	r:�s
zTransportSocket.recvfrom_intocOs|�d�|jj||�S)Nzrecvmsg_into() method)rr�recvmsg_intor#rrr	r;�s
zTransportSocket.recvmsg_intocOs|�d�|jj||�S)Nzrecvmsg() method)rr�recvmsgr#rrr	r<�s
zTransportSocket.recvmsgcOs|�d�|jj||�S)Nzrecvfrom() method)rr�recvfromr#rrr	r=�s
zTransportSocket.recvfromcOs|�d�|jj||�S)Nz
recv() method)rr�recvr#rrr	r>�s
zTransportSocket.recvcCs|dkrdStd��dS)Nrz<settimeout(): only 0 timeout is allowed on transport sockets��
ValueError)r�valuerrr	�
settimeout�s
�zTransportSocket.settimeoutcCsdS)Nrrrrrr	�
gettimeout�szTransportSocket.gettimeoutcCs|sdStd��dS)Nz3setblocking(): transport sockets cannot be blockingr?)r�flagrrr	�setblocking�s
�zTransportSocket.setblockingcCs|�d�|j��S�Nzcontext manager protocol)rr�	__enter__rrrr	rG�s
zTransportSocket.__enter__cGs|�d�|jj|�SrF)rr�__exit__)r�errrrr	rH�s
zTransportSocket.__exit__N)2�__name__�
__module__�__qualname__�	__slots__rr
r�propertyrrrrrrrr r!r"r&rrr'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>rBrCrErGrHrrrr	rs`	


r)rrrrrrr	�<module>s