Current Dir: /snap/core22/2437/usr/lib/python3.10/asyncio/__pycache__/
[FILE] base_events.cpython-310.pyc [ edit | delete | rename ]
[FILE] base_futures.cpython-310.pyc [ edit | delete | rename ]
[FILE] base_subprocess.cpython-310.pyc [ edit | delete | rename ]
[FILE] base_tasks.cpython-310.pyc [ edit | delete | rename ]
[FILE] constants.cpython-310.pyc [ edit | delete | rename ]
[FILE] coroutines.cpython-310.pyc [ edit | delete | rename ]
[FILE] events.cpython-310.pyc [ edit | delete | rename ]
[FILE] exceptions.cpython-310.pyc [ edit | delete | rename ]
[FILE] format_helpers.cpython-310.pyc [ edit | delete | rename ]
[FILE] futures.cpython-310.pyc [ edit | delete | rename ]
[FILE] locks.cpython-310.pyc [ edit | delete | rename ]
[FILE] log.cpython-310.pyc [ edit | delete | rename ]
[FILE] mixins.cpython-310.pyc [ edit | delete | rename ]
[FILE] proactor_events.cpython-310.pyc [ edit | delete | rename ]
[FILE] protocols.cpython-310.pyc [ edit | delete | rename ]
[FILE] queues.cpython-310.pyc [ edit | delete | rename ]
[FILE] runners.cpython-310.pyc [ edit | delete | rename ]
[FILE] selector_events.cpython-310.pyc [ edit | delete | rename ]
[FILE] sslproto.cpython-310.pyc [ edit | delete | rename ]
[FILE] staggered.cpython-310.pyc [ edit | delete | rename ]
[FILE] streams.cpython-310.pyc [ edit | delete | rename ]
[FILE] subprocess.cpython-310.pyc [ edit | delete | rename ]
[FILE] tasks.cpython-310.pyc [ edit | delete | rename ]
[FILE] threads.cpython-310.pyc [ edit | delete | rename ]
[FILE] transports.cpython-310.pyc [ edit | delete | rename ]
[FILE] trsock.cpython-310.pyc [ edit | delete | rename ]
[FILE] unix_events.cpython-310.pyc [ edit | delete | rename ]
[FILE] windows_events.cpython-310.pyc [ edit | delete | rename ]
[FILE] windows_utils.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]
[FILE] __main__.cpython-310.pyc [ edit | delete | rename ]
Viewing: /snap/core22/2437/usr/lib/python3.10/asyncio/__pycache__/transports.cpython-310.pyc
o
p̦i�) � @ s| d Z dZG dd� d�ZG dd� de�ZG dd� de�ZG dd � d ee�ZG d
d� de�ZG dd
� d
e�ZG dd� de�ZdS )zAbstract Transport class.)�
BaseTransport�
ReadTransport�WriteTransport� Transport�DatagramTransport�SubprocessTransportc @ sH e Zd ZdZdZddd�Zddd�Zdd � Zd
d� Zdd
� Z dd� Z
dS )r zBase class for transports.��_extraNc C s |d u ri }|| _ d S �Nr )�self�extra� r �)/usr/lib/python3.10/asyncio/transports.py�__init__ s
zBaseTransport.__init__c C s | j �||�S )z#Get optional transport information.)r �get)r
�name�defaultr r r
�get_extra_info s zBaseTransport.get_extra_infoc C � t �)z2Return True if the transport is closing or closed.��NotImplementedError�r
r r r
�
is_closing � zBaseTransport.is_closingc C r )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 r r r
�close � zBaseTransport.closec C r )zSet a new protocol.r )r
�protocolr r r
�set_protocol% r zBaseTransport.set_protocolc C r )zReturn the current protocol.r r r r r
�get_protocol) r zBaseTransport.get_protocolr )�__name__�
__module__�__qualname__�__doc__� __slots__r r r r r r r r r r
r s
r c @ s, e Zd ZdZdZdd� Zdd� Zdd� Zd S )
r z#Interface for read-only transports.r c C r )z*Return True if the transport is receiving.r r r r r
�
is_reading3 r zReadTransport.is_readingc C r )z�Pause the receiving end.
No data will be passed to the protocol's data_received()
method until resume_reading() is called.
r r r r r
�
pause_reading7 � zReadTransport.pause_readingc C r )z�Resume the receiving end.
Data received will once again be passed to the protocol's
data_received() method.
r r r r r
�resume_reading? r% zReadTransport.resume_readingN)r r r r! r"