HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python3/dist-packages/twisted/test/__pycache__/stdio_test_hostpeer.cpython-38.pyc
U


W[��@s�dZddlmZmZddlZddlmZmZddlm	Z	Gdd�dej
�Zedkr�e	�
ejd	���dd
lmZe�e��e��dS)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.
�)�absolute_import�divisionN)�stdio�protocol)�reflectc@seZdZdd�Zdd�ZdS)�
HostPeerChildcCsD|j�d�t|j����d�t|j����d�g��|j��dS)N�
�ascii)Z	transport�write�join�strZgetHost�encodeZgetPeerZloseConnection)�self�r�B/usr/lib/python3/dist-packages/twisted/test/stdio_test_hostpeer.py�connectionMades

�zHostPeerChild.connectionMadecCst��dS)N)�reactor�stop)r�reasonrrr�connectionLostszHostPeerChild.connectionLostN)�__name__�
__module__�__qualname__rrrrrrrsr�__main__�)r)�__doc__Z
__future__rr�sysZtwisted.internetrrZtwisted.pythonrZProtocolrrZnamedAny�argv�installrZ
StandardIO�runrrrr�<module>s