|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /proc/self/root/opt/alt/python37/lib64/python3.7/asyncio/__pycache__/ |
B
���;T�J]� @ 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 @ sD e Zd ZdZddd�Zddd�Zdd� Zd d
� Zdd� Zd
d� Z dS )r zBase class for transports.Nc C s |d kri }|| _ d S )N)�_extra)�self�extra� r
�7/opt/alt/python37/lib64/python3.7/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) called
with None as its argument.
N)r )r r
r
r �close s zBaseTransport.closec C s t �dS )zSet a new protocol.N)r )r �protocolr
r
r �set_protocol# s zBaseTransport.set_protocolc C s t �dS )zReturn the current protocol.N)r )r r
r
r �get_protocol'