
    Vh                        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         j                          dd	lmZ  ej                   e               ej                          yy)
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y)
WriteChildc                     | j                   j                  d       | j                   j                  d       | j                   j                  d       | j                   j                          y )N   o   k   !)	transportwriteloseConnection)selfs    M/home/dcms/DCMS/lib/python3.12/site-packages/twisted/test/stdio_test_write.pyconnectionMadezWriteChild.connectionMade   sH    T"T"T"%%'    c                 ,    t        j                          y )N)reactorstop)r   reasons     r   connectionLostzWriteChild.connectionLost   s    r   N)__name__
__module____qualname__r   r    r   r   r   r      s    (r   r   __main__   )r   )__doc__systwisted.internetr   r   twisted.pythonr   Protocolr   r   namedAnyargvinstallr   
StandardIOrunr   r   r   <module>r(      sw   
  , """  zGSXXa[!))+(EZ\"GKKM r   