
    Yf                        d Z ddlZddlmZmZ ddlmZ  G d dej                  Ze	dk    r\ ej
        ej        d                                                    dd	lmZ  ej         e                        ej                     dS dS )
z
Main program for the child process run by
L{twisted.test.test_stdio.StandardInputOutputTests.test_write} to test that
ITransport.write() works for process transports.
    N)protocolstdio)reflectc                       e Zd Zd Zd ZdS )
WriteChildc                     | j                             d           | j                             d           | j                             d           | j                                          d S )N   o   k   !)	transportwriteloseConnection)selfs    O/var/www/html/env/lib/python3.11/site-packages/twisted/test/stdio_test_write.pyconnectionMadezWriteChild.connectionMade   s^    T"""T"""T"""%%'''''    c                 ,    t          j                     d S )N)reactorstop)r   reasons     r   connectionLostzWriteChild.connectionLost   s    r   N)__name__
__module____qualname__r   r    r   r   r   r      s2        ( ( (    r   r   __main__   )r   )__doc__systwisted.internetr   r   twisted.pythonr   Protocolr   r   namedAnyargvinstallr   
StandardIOrunr   r   r   <module>r(      s   
  


 , , , , , , , , " " " " " "    "    zGSXa[!!))+++((((((EZZ\\"""GKMMMMM r   