/usr/lib/python3/dist-packages/twisted/protocols/__pycache__
Edit: /usr/lib/python3/dist-packages/twisted/protocols/__pycache__/wire.cpython-310.pyc (3833B)
o
¯bÁ ã @ sÄ d Z ddlZddlZddlmZ ddlmZmZ G dd„ dejƒZ G dd„ dejƒZ
eejƒG d d
„ d
ejƒƒZG dd„ dejƒZ
G d
d„ dejƒZG dd„ dejƒZG dd„ dejƒZg d¢ZdS )zzImplement standard (and unused) TCP protocols.
These protocols are either provided by inetd, or are not provided at all.
é N)Úimplementer)Ú
interfacesÚprotocolc @ ó 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 ó r c @ r )ÚDiscardz.
Discard any received data (RFC 863).
c C ó d S r r
r
r
r
r r s zDiscard.dataReceivedNr r
r
r
r r r 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 ÚregisterProducer©r r
r
r ÚconnectionMade- ó zChargen.connectionMadec C s | j | j¡ d S r )r r Únoiser r
r
r ÚresumeProducing0 r zChargen.resumeProducingc C r r r
r r
r
r ÚpauseProducing3 ó zChargen.pauseProducingc C r r r
r r
r
r Ú
stopProducing6 r zChargen.stopProducingN) r r r r r r r r r! r
r
r
r r % s r c @ ó e Zd ZdZdd„ Zdd„ ZdS )ÚQOTDz.
Return a quote of the day (RFC 865).
c C ó | j | ¡ ¡ | j ¡ d S r )r r ÚgetQuoteÚloseConnectionr r
r
r r ? ó zQOTD.connectionMadec C ó dS )zB
Return a quote. May be overrriden in subclasses.
s' An apple a day keeps the doctor away.
r
r r
r
r r% C ó z
QOTD.getQuoteN)r r r r r r% r
r
r
r r# : ó r# c @ r" )ÚWhoz/
Return list of active users (RFC 866)
c C r$ r )r r ÚgetUsersr&