Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/twisted/application/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/twisted/application/__pycache__/strports.cpython-310.pyc
o

�b!
�	@s�dZddlmZmZddlmZddlmZmZdej	fdd�Z
	dd	ed
ejdeej	defdd
�Z
d	ed
ejdejfdd�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�returncCsddlm}ttj|�S)Nr��reactor)�twisted.internetr	rr�IReactorCorer�r�>/usr/lib/python3/dist-packages/twisted/application/strports.py�_getReactorsrN�description�factoryr	cCs*|durt�}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)rrr�serverFromString�_raiseSynchronously)rrr	�svcrrr
�services�rcCs>ddlm}t�||�\}}}ttjt|d|�|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}
    rr�listen)r
r	r�_parseServerrr�IListeningPort�getattr)rrr	�name�args�kwrrr
r7s
�r)N)�__doc__�typingrr�twisted.application.internetrr
rrrr�str�IProtocolFactoryrrr�__all__rrrr
�<module>s.	����
� ��
�

Spamworldpro Mini