+
    Dfj                     b   R t ^ RIt^ RIHtHt ^ RIHt ^ RIHtH	t	 R t
 ! R R]P                  4      t]R8X  dt   ]	P                  ! ]P                  ^,          4      P!                  4        ^ R	IHt ]P$                  ! ]! ]P                  ^,          4      4       ]P&                  ! 4        R# R# )
z
Main program for the child process run by
L{twisted.test.test_stdio.StandardInputOutputTests.test_consumer} to test
that process transports implement IConsumer properly.
N)protocolstdio)basic)logreflectc                 z    \         P                  ! \        P                  4       \         P                  ! V 4       R # N)r   startLoggingsysstderrerr)r   s   &B/usr/lib/python3/dist-packages/twisted/test/stdio_test_consumer.pyfailedr      s    SZZ GGCL    c                   2   a  ] tR t^t o R tR tR tRtV tR# )ConsumerChildc                    Wn         R # r   junkPath)selfr   s   &&r   __init__ConsumerChild.__init__   s     r   c                   a  \         P                  ! 4       P                  \        S P                  R 4      S P
                  4      pVP                  \        4       VP                  V 3R l4       R# )rbc                 8   < SP                   P                  4       # r   )	transportloseConnection)ignr   s   &r   <lambda>.ConsumerChild.connectionMade.<locals>.<lambda>!   s    $.."?"?"Ar   N)	r   
FileSenderbeginFileTransferopenr   r   
addErrbackr   addCallback)r   ds   f r   connectionMadeConsumerChild.connectionMade   sK    00%t~~
 	
V	ABr   c                0    \         P                  ! 4        R # r   )reactorstop)r   reasons   &&r   connectionLostConsumerChild.connectionLost#   s    r   r   N)	__name__
__module____qualname____firstlineno__r   r&   r,   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s     !C r   r   __main__)r)   )__doc__r
   twisted.internetr   r   twisted.protocolsr   twisted.pythonr   r   r   Protocolr   r.   namedAnyargvinstallr)   
StandardIOrun r   r   <module>rA      s   
  , # '
H%%  zSXXa[!))+(	]388A;/0KKM r   