� !A?h�) � �� � d Z dZ G d� d� � Z G d� de� � Z G d� de� � Z G d� d ee� � Z G d � de� � Z G d� d e� � Z G d� de� � ZdS )zAbstract Transport class.)� BaseTransport� ReadTransport�WriteTransport� Transport�DatagramTransport�SubprocessTransportc �> � e Zd ZdZdZd d�Zd d�Zd� Zd� Zd� Z d � Z dS )r zBase class for transports.��_extraNc � � |�i }|| _ d S �Nr )�self�extras �?/opt/alt/python-internal/lib64/python3.11/asyncio/transports.py�__init__zBaseTransport.__init__ s � ��=��E������ c �8 � | j � ||� � S )z#Get optional transport information.)r �get)r �name�defaults r �get_extra_infozBaseTransport.get_extra_info s � ��{���t�W�-�-�-r c � � t �)z2Return True if the transport is closing or closed.��NotImplementedError�r s r � is_closingzBaseTransport.is_closing � � �!�!r c � � t �)a Close the transport. Buffered data will be flushed asynchronously. No more data will be received. After all buffered data is flushed, the protocol's connection_lost() method will (eventually) be called with None as its argument. r r s r �closezBaseTransport.close � � � "�!r c � � t �)zSet a new protocol.r )r �protocols r �set_protocolzBaseTransport.set_protocol% r r c � � t �)zReturn the current protocol.r r s r �get_protocolzBaseTransport.get_protocol) r r r )�__name__� __module__�__qualname__�__doc__� __slots__r r r r r" r$ � r r r r s� � � � � � �$�$��I�� � � � .� .� .� .�"� "� "�"� "� "�"� "� "�"� "� "� "� "r r c �( � e Zd ZdZdZd� Zd� Zd� ZdS )r z#Interface for read-only transports.r* c � � t �)z*Return True if the transport is receiving.r r s r � is_readingzReadTransport.is_reading3 r r c � � t �)z�Pause the receiving end. No data will be passed to the protocol's data_received() method until resume_reading() is called. r r s r � pause_readingzReadTransport.pause_reading7 � � � "�!r c � � t �)z�Resume the receiving end. Data received will once again be passed to the protocol's data_received() method. r r s r �resume_readingzReadTransport.resume_reading? r0 r N)r% r&