| Server IP : 89.117.53.150 / Your IP : 216.73.216.11 Web Server : Apache System : Linux server2.hostofiraq.site 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64 User : iscmbt-kufa-atu ( 1014) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /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>