Mini Shell
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'