| 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/application/ |
Upload File : |
ó
[³XMc @ s· d Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d d „ Z
e e d d
d d ƒ d
e d ƒ e ƒ Z
e
d d „ Z d d „ Z d d d g Z d S( s°
Construct listening port services from a simple string description.
@see: L{twisted.internet.endpoints.serverFromString}
@see: L{twisted.internet.endpoints.clientFromString}
iÿÿÿÿN( t endpoints( t deprecatedModuleAttribute( t Version( t StreamServerEndpointServicet tcpc C s t j | | | ƒ S( si
This function is deprecated as of Twisted 10.2.
@see: L{twisted.internet.endpoints.server}
( R t _parseServer( t descriptiont factoryt default( ( s@ /usr/lib/python2.7/dist-packages/twisted/application/strports.pyt parse s t Twistedi
i i s7 in favor of twisted.internet.endpoints.serverFromStringR c C s¡ | d k r d d l m } n | t k r4 d } nB d } | d k rZ | d | f 7} n t j d | d t d d ƒ t t j | | | ƒ | ƒ } t
| _ | S(
sé
Return the service corresponding to a description.
@param description: The description of the listening port, in the syntax
described by L{twisted.internet.endpoints.server}.
@type description: C{str}
@param factory: The protocol factory which will build protocols for
connections to this service.
@type factory: L{twisted.internet.interfaces.IProtocolFactory}
@type default: C{str} or C{None}
@param default: Do not use this parameter. It is deprecated since Twisted
10.2.0.
@rtype: C{twisted.application.service.IService}
@return: the service corresponding to a description of a reliable
stream server.
@see: L{twisted.internet.endpoints.serverFromString}
iÿÿÿÿ( t reactors9 The 'default' parameter was deprecated in Twisted 10.2.0.s= Use qualified endpoint descriptions; for example, 'tcp:%s'.t messaget categoryt
stackleveli N( t Nonet twisted.internetR t _DEFAULTt warningst warnt DeprecationWarningR R t _serverFromStringLegacyt Truet _raiseSynchronously( R R R R R t svc( ( s@ /usr/lib/python2.7/dist-packages/twisted/application/strports.pyt service&