Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/dist-packages/twisted/test/
Upload File :
Current File : //usr/lib/python2.7/dist-packages/twisted/test/stdio_test_consumer.pyc

ó
[³XMc@sÑdZddlZddlmZmZddlmZmZddlm	Z	d„Z
dejfd„ƒYZe
d	krÍejejd
ƒjƒddlmZejeejdƒƒejƒndS(
s®
Main program for the child process run by
L{twisted.test.test_stdio.StandardInputOutputTestCase.test_consumer} to test
that process transports implement IConsumer properly.
iÿÿÿÿN(tlogtreflect(tstdiotprotocol(tbasiccCs!tjtjƒtj|ƒdS(N(RtstartLoggingtsyststderrterr(R((sD/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_consumer.pytfailedst
ConsumerChildcBs#eZd„Zd„Zd„ZRS(cCs
||_dS(N(tjunkPath(tselfR((sD/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_consumer.pyt__init__scsKtjƒjtˆjƒˆjƒ}|jtƒ|j‡fd†ƒdS(Ncs
ˆjjƒS(N(t	transporttloseConnection(tign(R(sD/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_consumer.pyt<lambda>s(	Rt
FileSendertbeginFileTransfertfileRRt
addErrbackR	taddCallback(Rtd((RsD/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_consumer.pytconnectionMades$
cCstjƒdS(N(treactortstop(Rtreason((sD/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_consumer.pytconnectionLosts(t__name__t
__module__R
RR(((sD/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_consumer.pyR
s		t__main__i(Ri(t__doc__Rttwisted.pythonRRttwisted.internetRRttwisted.protocolsRR	tProtocolR
RtnamedAnytargvtinstallRt
StandardIOtrun(((sD/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_consumer.pyt<module>	s