Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/twisted/application/__pycache__/ |
Upload File : |
o �b! � @ s� d Z ddlmZmZ ddlmZ ddlmZmZ dej fdd�Z dd ed ejdeej defdd �Z d ed ejdejfdd�Zd dgZdS )z� Construct listening port services from a simple string description. @see: L{twisted.internet.endpoints.serverFromString} @see: L{twisted.internet.endpoints.clientFromString} � )�Optional�cast)�StreamServerEndpointService)� endpoints� interfaces�returnc C s ddl m} ttj| �S )Nr ��reactor)�twisted.internetr r r �IReactorCorer � r �>/usr/lib/python3/dist-packages/twisted/application/strports.py�_getReactor s r N�description�factoryr c C s* |du rt � }tt�|| �|�}d|_|S )aj Return the service corresponding to a description. @param description: The description of the listening port, in the syntax described by L{twisted.internet.endpoints.serverFromString}. @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} @rtype: C{twisted.application.service.IService} @return: the service corresponding to a description of a reliable stream server. @see: L{twisted.internet.endpoints.serverFromString} NT)r r r �serverFromString�_raiseSynchronously)r r r �svcr r r �service s �r c C s>