| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/asyncio/__pycache__/ |
Upload File : |
a
I d�) � @ 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.9/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 s t �dS )z2Return True if the transport is closing or closed.N��NotImplementedError�r
r r r
�
is_closing s zBaseTransport.is_closingc C s t �dS )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.
Nr r r r r
�close s zBaseTransport.closec C s t �dS )zSet a new protocol.Nr )r
�protocolr r r
�set_protocol% s zBaseTransport.set_protocolc C s t �dS )zReturn the current protocol.Nr r r r r
�get_protocol) s zBaseTransport.get_protocol)N)N)�__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 s t �dS )z*Return True if the transport is receiving.Nr r r r r
�
is_reading3 s zReadTransport.is_readingc C s t �dS )z�Pause the receiving end.
No data will be passed to the protocol's data_received()
method until resume_reading() is called.
Nr r r r r
�
pause_reading7 s zReadTransport.pause_readingc C s t �dS )z�Resume the receiving end.
Data received will once again be passed to the protocol's
data_received() method.
Nr r r r r
�resume_reading? s zReadTransport.resume_readingN)r r r r r r r! r"