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_hostpeer.pyc

ó
[³XMc@s¨dZddlZddlmZmZddlmZdejfd„ƒYZe	dkr¤ej
ejdƒjƒdd	lm
Z
ejeƒƒe
jƒndS(
sË
Main program for the child process run by
L{twisted.test.test_stdio.StandardInputOutputTestCase.test_hostAndPeer} to test
that ITransport.getHost() and ITransport.getPeer() work for process transports.
iÿÿÿÿN(tstdiotprotocol(treflectt
HostPeerChildcBseZd„Zd„ZRS(cCsN|jjdjt|jjƒƒt|jjƒƒgƒƒ|jjƒdS(Ns
(t	transporttwritetjointstrtgetHosttgetPeertloseConnection(tself((sD/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_hostpeer.pytconnectionMadescCstjƒdS(N(treactortstop(Rtreason((sD/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_hostpeer.pytconnectionLosts(t__name__t
__module__RR(((sD/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_hostpeer.pyRs	t__main__i(R
(t__doc__tsysttwisted.internetRRttwisted.pythonRtProtocolRRtnamedAnytargvtinstallR
t
StandardIOtrun(((sD/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_hostpeer.pyt<module>	s