Server IP : 15.235.198.142 / Your IP : 216.73.216.190 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/twisted/application/__pycache__/ |
Upload File : |
� Ϫ�f! � �� � d Z ddlmZmZ ddlmZ ddlmZmZ dej fd�Z dded ej d eej defd�Z ded ej dej fd�Zd dgZy)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 �B � ddl m} t t j | � S )Nr ��reactor)�twisted.internetr r r �IReactorCorer s �>/usr/lib/python3/dist-packages/twisted/application/strports.py�_getReactorr s � �(�� �'�'��1�1� N�description�factoryr c �l � |� t � }t t j || � |� }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} T)r r r �serverFromString�_raiseSynchronously)r r r �svcs r �servicer s; � �, ���-�� %��"�"�7�K�8�'��C� #�C���Jr c � � ddl m} t j | |� \ }}}t t j t |d|z � |i |��� S )ac Listen on a port corresponding to a description. @param description: The description of the connecting port, in the syntax described by L{twisted.internet.endpoints.serverFromString}. @type description: L{str} @param factory: The protocol factory which will build protocols on connection. @type factory: L{twisted.internet.interfaces.IProtocolFactory} @rtype: L{twisted.internet.interfaces.IListeningPort} @return: the port corresponding to a description of a reliable virtual circuit server. @see: L{twisted.internet.endpoints.serverFromString} r r �listen)r r r �_parseServerr r �IListeningPort�getattr)r r r �name�args�kws r r r 7 sO � �( )��+�+�K��A�N�D�$����!�!�#D�7�7�H�t�O�#D�d�#Q�b�#Q�� r r r )N)�__doc__�typingr r �twisted.application.internetr r r r r r �str�IProtocolFactoryr r r �__all__� r r �<module>r'