1DM 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 ReadTransportWriteTransport TransportDatagramTransportSubprocessTransportc > e Zd ZdZdZd dZd dZd Zd Zd Z d Z dS )r zBase class for transports._extraNc |i }|| _ d S Nr )selfextras 9/opt/alt/python311/lib64/python3.11/asyncio/transports.py__init__zBaseTransport.__init__ s =E c 8 | j || S )z#Get optional transport information.)r get)r namedefaults r get_extra_infozBaseTransport.get_extra_info s {tW---r c t )z2Return True if the transport is closing or closed.NotImplementedErrorr 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 )zPause 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 )zResume 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&