%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/twisted/protocols/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/twisted/protocols/__pycache__/wire.cpython-312.pyc

�

Ϫ�f�	���dZddlZddlZddlmZddlmZmZGd�dej�Z	Gd�dej�Z
eej�Gd	�d
ej��ZGd�dej�Z
Gd
�dej�ZGd�dej�ZGd�dej�Zgd�Zy)zzImplement standard (and unused) TCP protocols.

These protocols are either provided by inetd, or are not provided at all.
�N)�implementer)�
interfaces�protocolc��eZdZdZd�Zy)�EchozC
    As soon as any data is received, write it back (RFC 862).
    c�:�|jj|�y�N)�	transport�write��self�datas  �8/usr/lib/python3/dist-packages/twisted/protocols/wire.py�dataReceivedzEcho.dataReceiveds�������T�"�N��__name__�
__module__�__qualname__�__doc__r�rrrrs���#rrc��eZdZdZd�Zy)�Discardz.
    Discard any received data (RFC 863).
    c��yr	rrs  rrzDiscard.dataReceived s��rNrrrrrrs���
rrc�,�eZdZdZdZd�Zd�Zd�Zd�Zy)�Chargenz-
    Generate repeating noise (RFC 864).
    sG@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&?c�<�|jj|d�y)Nr)r
�registerProducer�r
s r�connectionMadezChargen.connectionMade-s�����'�'��a�0rc�N�|jj|j�yr	)r
r�noisers r�resumeProducingzChargen.resumeProducing0s�������T�Z�Z�(rc��yr	rrs r�pauseProducingzChargen.pauseProducing3���rc��yr	rrs r�
stopProducingzChargen.stopProducing6r&rN)	rrrrr"r r#r%r(rrrrr%s#���
X�E�1�)�
�
rrc��eZdZdZd�Zd�Zy)�QOTDz.
    Return a quote of the day (RFC 865).
    c��|jj|j��|jj�yr	)r
r�getQuote�loseConnectionrs rr zQOTD.connectionMade?�*�������T�]�]�_�-����%�%�'rc��y)zB
        Return a quote. May be overrriden in subclasses.
        s'An apple a day keeps the doctor away.
rrs rr,z
QOTD.getQuoteCs��<rN)rrrrr r,rrrr*r*:s���(�<rr*c��eZdZdZd�Zd�Zy)�Whoz/
    Return list of active users (RFC 866)
    c��|jj|j��|jj�yr	)r
r�getUsersr-rs rr zWho.connectionMadeOr.rc��y)z>
        Return active users. Override in subclasses.
        sroot
rrs rr3zWho.getUsersSs��rN)rrrrr r3rrrr1r1Js���(�rr1c��eZdZdZd�Zy)�Daytimez8
    Send back the daytime in ASCII form (RFC 867).
    c���|jjtjtjtj���dz�|jj�y)Ns
)r
r�time�asctime�gmtimer-rs rr zDaytime.connectionMade_sA�������T�\�\�$�+�+�d�i�i�k�*B�C�g�M�N����%�%�'rN�rrrrr rrrr6r6Zs���(rr6c��eZdZdZd�Zy)�Timez@
    Send back the time in machine readable form (RFC 868).
    c���tjdttj���}|jj|�|jj
�y)Nz!i)�struct�pack�intr8r
rr-)r
�results  rr zTime.connectionMadeis?�����T�3�t�y�y�{�#3�4�������V�$����%�%�'rNr;rrrr=r=ds���(rr=)rrrr*r1r6r=)rr?r8�zope.interfacer�twisted.internetrr�Protocolrr�	IProducerrr*r1r6r=�__all__rrr�<module>rHs������&�1�#�8���#�
�h���
�
�Z�
!�
!�"�
�h���
�#�
�(
<�8���
<� 
�(�
�
�
� (�h���(�	(�8���	(�K�r

Zerion Mini Shell 1.0