%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3.12/asyncio/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3.12/asyncio/__pycache__/trsock.cpython-312.pyc

�

���f�	�� �ddlZGd�d�Zy)�Nc��eZdZdZdZdej
fd�Zed��Zed��Z	ed��Z
d�Zd	�Zd
�Z
d�Zd�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zy)�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��||_y�Nr)�selfrs  �%/usr/lib/python3.12/asyncio/trsock.py�__init__zTransportSocket.__init__s	����
�c�.�|jjSr	)r�family�r
s rrzTransportSocket.familys���z�z� � � r
c�.�|jjSr	)r�typers rrzTransportSocket.types���z�z���r
c�.�|jjSr	)r�protors rrzTransportSocket.protos���z�z���r
c�r�d|j��d|j�d|j�d|j��}|j�dk7r4	|j	�}|r|�d|��}	|j�}|r|�d|��}|�d�S#t
j$rY�4wxYw#t
j$rY�3wxYw)	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�k�_�G�D�I�I�=�9��Z�Z�L�
"�	
��;�;�=�B��
��(�(�*����#�X�e�W�-�A�
��(�(�*����#�X�e�W�-�A���A�w����<�<�
��
���<�<�
��
�s$�B�)B �B�B� B6�5B6c��td��)Nz/Cannot serialize asyncio.TransportSocket object)�	TypeErrorrs r�__getstate__zTransportSocket.__getstate__5s���I�J�Jr
c�6�|jj�Sr	)rrrs rrzTransportSocket.fileno8s���z�z� � �"�"r
c�6�|jj�Sr	)r�duprs rr&zTransportSocket.dup;s���z�z�~�~��r
c�6�|jj�Sr	)r�get_inheritablers rr(zTransportSocket.get_inheritable>s���z�z�)�)�+�+r
c�:�|jj|�yr	)r�shutdown)r
�hows  rr*zTransportSocket.shutdownAs��	
�
�
���C� r
c�:�|jj|i|��Sr	)r�
getsockopt�r
�args�kwargss   rr-zTransportSocket.getsockoptFs��$�t�z�z�$�$�d�5�f�5�5r
c�<�|jj|i|��yr	)r�
setsockoptr.s   rr2zTransportSocket.setsockoptIs����
�
���t�.�v�.r
c�6�|jj�Sr	)rrrs rrzTransportSocket.getpeernameL����z�z�%�%�'�'r
c�6�|jj�Sr	)rrrs rrzTransportSocket.getsocknameOr4r
c�6�|jj�Sr	)r�
getsockbynamers rr7zTransportSocket.getsockbynameRs���z�z�'�'�)�)r
c�$�|dk(rytd��)Nrz<settimeout(): only 0 timeout is allowed on transport sockets��
ValueError)r
�values  r�
settimeoutzTransportSocket.settimeoutUs���A�:���J�L�	Lr
c��y)Nr�rs r�
gettimeoutzTransportSocket.gettimeout[s��r
c��|sytd��)Nz3setblocking(): transport sockets cannot be blockingr9)r
�flags  r�setblockingzTransportSocket.setblocking^s�����A�C�	Cr
N)�__name__�
__module__�__qualname__�__doc__�	__slots__rr�propertyrrrr r#rr&r(r*r-r2rrr7r<r?rBr>r
rrrs�����I��V�]�]���!��!������ �� ��.K�#� �,�!�
6�/�(�(�*�L��Cr
r)rrr>r
r�<module>rIs��
�^C�^Cr

Zerion Mini Shell 1.0