File: //proc/self/root/usr/lib/python3/dist-packages/twisted/protocols/__pycache__/wire.cpython-38.pyc
U
W[� � @ s� d Z ddlmZmZ ddlZddlZddlmZ ddlm Z m
Z
G dd� de j�ZG dd � d e j�Z
ee
j�G d
d� de j��ZG dd
� d
e j�ZG dd� de j�ZG dd� de j�ZG dd� de j�Zdd dd
dddgZdS )zzImplement standard (and unused) TCP protocols.
These protocols are either provided by inetd, or are not provided at all.
� )�absolute_import�divisionN)�implementer)�protocol�
interfacesc @ s e Zd ZdZdd� ZdS )�EchozC
As soon as any data is received, write it back (RFC 862).
c C s | j �|� d S �N)� transport�write��self�data� r �8/usr/lib/python3/dist-packages/twisted/protocols/wire.py�dataReceived s zEcho.dataReceivedN��__name__�
__module__�__qualname__�__doc__r r r r r r s r c @ s e Zd ZdZdd� ZdS )�Discardz.
Discard any received data (RFC 863).
c C s d S r r r r r r r # s zDiscard.dataReceivedNr r r r r r s r c @ s4 e Zd ZdZdZdd� Zdd� Zdd� Zd d
� ZdS )�Chargenz-
Generate repeating noise (RFC 864).
sG @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&?c C s | j �| d� d S )Nr )r ZregisterProducer�r r r r �connectionMade0 s zChargen.connectionMadec C s | j �| j� d S r )r r
�noiser r r r �resumeProducing4 s zChargen.resumeProducingc C s d S r r r r r r �pauseProducing8 s zChargen.pauseProducingc C s d S r r r r r r �
stopProducing<