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: //proc/self/root/lib/python3/dist-packages/twisted/test/__pycache__/process_twisted.cpython-38.pyc
U


W[��@s�dZddlmZmZmZddlZddlZej�ej	d��
ejd�Zedkrvej�
dej�ej	d�ded��ej�
dej�ddlmZddlmZdd	lmZe�ej�dd
lmZmZmZeej�Gdd�dej��Ze�e��e��dS)
z6A process that reads from stdin and out using Twisted.�)�division�absolute_import�print_functionNZTwisted����)�log)�implementer)�
interfaces)�protocol�reactor�stdioc@s4eZdZdd�Zdd�Zdd�Zdd�Zd	d
�ZdS)�EchocCstd�dS)Nzconnection made��print��self�r�>/usr/lib/python3/dist-packages/twisted/test/process_twisted.py�connectionMadeszEcho.connectionMadecCs|j�|�dS)N)�	transport�write)r�datarrr�dataReceivedszEcho.dataReceivedcCstd�|j��dS)N�readConnectionLost)rrZloseConnectionrrrrr"szEcho.readConnectionLostcCstd�dS)N�writeConnectionLostrrrrrr%szEcho.writeConnectionLostcCstd|�t��dS)N�connectionLost)rr�stop)r�reasonrrrr(s
zEcho.connectionLostN)�__name__�
__module__�__qualname__rrrrrrrrrr
s
r
)�__doc__Z
__future__rrr�sys�os�path�abspath�argv�find�sep�pos�insert�curdirZtwisted.pythonrZzope.interfacerZtwisted.internetr	ZstartLogging�stderrr
rrZIHalfCloseableProtocolZProtocolr
Z
StandardIO�runrrrr�<module>s(