AlkantarClanX12

Your IP : 3.136.22.184


Current Path : /opt/alt/python311/lib64/python3.11/asyncio/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/asyncio/__pycache__/trsock.cpython-311.pyc

�

c��f�	��(�ddlZGd�d��ZdS)�Nc���eZdZdZdZdejfd�Zed���Zed���Z	ed���Z
d�Zd	�Zd
�Z
d�Zd�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�ZdS)�TransportSocketz�A socket-like wrapper for exposing real transport sockets.

    These objects can be safely returned by APIs like
    `transport.get_extra_info('socket')`.  All potentially disruptive
    operations (like "socket.close()") are banned.
    ��_sock�sockc��||_dS�Nr)�selfrs  �5/opt/alt/python311/lib64/python3.11/asyncio/trsock.py�__init__zTransportSocket.__init__s
����
�
�
�c��|jjSr	)r�family�r
s rrzTransportSocket.familys
���z� � r
c��|jjSr	)r�typers rrzTransportSocket.types���z��r
c��|jjSr	)r�protors rrzTransportSocket.protos
���z��r
c�j�d|����d|j�d|j�d|j��}|���dkrh	|���}|r|�d|��}n#t
j$rYnwxYw	|���}|r|�d|��}n#t
j$rYnwxYw|�d�S)	Nz<asyncio.TransportSocket fd=z	, family=z, type=z, proto=���z, laddr=z, raddr=�>)�filenorrr�getsockname�socket�error�getpeername)r
�s�laddr�raddrs    r�__repr__zTransportSocket.__repr__s��
"�4�;�;�=�=�
"�
"��k�
"�
"�,0�I�
"�
"��Z�
"�
"�	
��;�;�=�=�B���
��(�(�*�*���.��-�-�e�-�-�A����<�
�
�
���
����
��(�(�*�*���.��-�-�e�-�-�A����<�
�
�
���
�����w�w�w�s$�	A'�'A9�8A9�=B�B-�,B-c� �td���)Nz/Cannot serialize asyncio.TransportSocket object)�	TypeErrorrs r�__getstate__zTransportSocket.__getstate__5s���I�J�J�Jr
c�4�|j���Sr	)rrrs rrzTransportSocket.fileno8s���z� � �"�"�"r
c�4�|j���Sr	)r�duprs rr&zTransportSocket.dup;s���z�~�~���r
c�4�|j���Sr	)r�get_inheritablers rr(zTransportSocket.get_inheritable>s���z�)�)�+�+�+r
c�:�|j�|��dSr	)r�shutdown)r
�hows  rr*zTransportSocket.shutdownAs ��	
�
���C� � � � � r
c�&�|jj|i|��Sr	)r�
getsockopt�r
�args�kwargss   rr-zTransportSocket.getsockoptFs��$�t�z�$�d�5�f�5�5�5r
c�*�|jj|i|��dSr	)r�
setsockoptr.s   rr2zTransportSocket.setsockoptIs"����
��t�.�v�.�.�.�.�.r
c�4�|j���Sr	)rrrs rrzTransportSocket.getpeernameL����z�%�%�'�'�'r
c�4�|j���Sr	)rrrs rrzTransportSocket.getsocknameOr4r
c�4�|j���Sr	)r�
getsockbynamers rr7zTransportSocket.getsockbynameRs���z�'�'�)�)�)r
c�0�|dkrdStd���)Nrz<settimeout(): only 0 timeout is allowed on transport sockets��
ValueError)r
�values  r�
settimeoutzTransportSocket.settimeoutUs(���A�:�:��F��J�L�L�	Lr
c��dS)Nr�rs r�
gettimeoutzTransportSocket.gettimeout[s���qr
c�(�|sdStd���)Nz3setblocking(): transport sockets cannot be blockingr9)r
�flags  r�setblockingzTransportSocket.setblocking^s'���	��F��A�C�C�	Cr
N)�__name__�
__module__�__qualname__�__doc__�	__slots__rr�propertyrrrr r#rr&r(r*r-r2rrr7r<r?rBr>r
rrrsp���������I��V�]������!�!��X�!�����X��� � ��X� ����.K�K�K�#�#�#� � � �,�,�,�!�!�!�
6�6�6�/�/�/�(�(�(�(�(�(�*�*�*�L�L�L����C�C�C�C�Cr
r)rrr>r
r�<module>rIsT��
�
�
�
�^C�^C�^C�^C�^C�^C�^C�^C�^C�^Cr