403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/dist-packages/twisted/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/twisted/test/testutils.pyc
ó
f9=c@s@ddlmZddlmZddd„ƒYZd„ZdS(iÿÿÿÿ(tStringIO(tFileWrappertIOPumpcBs)eZdZd„Zd„Zd„ZRS(sŠUtility to pump data between clients and servers for protocol testing.

    Perhaps this is a utility worthy of being in protocol.py?
    cCs(||_||_||_||_dS(N(tclienttservertclientIOtserverIO(tselfRRRR((s:/usr/lib/python2.7/dist-packages/twisted/test/testutils.pyt__init__	s			cCsx|jƒrqWdS(s,Pump until there is no more input or output.N(tpump(R((s:/usr/lib/python2.7/dist-packages/twisted/test/testutils.pytflushscCsÒ|jjdƒ|jjdƒ|jjƒ}|jjƒ}|jjdƒ|jjdƒ|jjƒ|jjƒx|D]}|jj|ƒqWx|D]}|jj|ƒq W|sÆ|rÊdSdSdS(sOMove data back and forth.

        Returns whether any data was moved.
        iiN(RtseekRtreadttruncateRtdataReceivedR(RtcDatatsDatatbyte((s:/usr/lib/python2.7/dist-packages/twisted/test/testutils.pyR	s



(t__name__t
__module__t__doc__RR
R	(((s:/usr/lib/python2.7/dist-packages/twisted/test/testutils.pyRs		cCsetƒ}tƒ}|jt|ƒƒ|jt|ƒƒt||||ƒ}|jƒ|jƒ|S(s2Take two Protocol instances and connect them.
    (RtmakeConnectionRRR
(RRtciotsioR	((s:/usr/lib/python2.7/dist-packages/twisted/test/testutils.pytreturnConnected+s		

N((t	cStringIORttwisted.internet.protocolRRR(((s:/usr/lib/python2.7/dist-packages/twisted/test/testutils.pyt<module>s'

Youez - 2016 - github.com/yon3zu
LinuXploit