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__/reactors.cpython-310.pyc
o

�b!	�@s�dZddlmZmZddlmZmZmZddlm	Z	ddl
mZmZddl
mZGdd�de�ZGd	d
�d
e�Zeee�Gdd�d��Zd
eefdd�Zded
e	fdd�ZdS)zT
Plugin-based system for enumerating available reactors and installing one of
them.
�)�Iterable�cast)�	Attribute�	Interface�implementer)�IReactorCore)�IPlugin�
getPlugins)�namedAnyc@s*eZdZdZed�Zed�Zddd�ZdS)	�IReactorInstallerzB
    Definition of a reactor which can probably be installed.
    zE
    A brief string giving the user-facing name of this reactor.
    zK
    A longer string giving a user-facing description of this reactor.
    �returnNcCsdS)z'
        Install this reactor.
        N�r
r
r
�>/usr/lib/python3/dist-packages/twisted/application/reactors.py�install#szIReactorInstaller.install�rN)�__name__�
__module__�__qualname__�__doc__r�	shortName�descriptionrr
r
r
rrs��rc@seZdZdZdS)�
NoSuchReactorzT
    Raised when an attempt is made to install a reactor which cannot be found.
    N)rrrrr
r
r
rr,src@s0eZdZdZdededefdd�Zdd	d
�ZdS)�Reactorz|
    @ivar moduleName: The fully-qualified Python name of the module of which
    the install callable is an attribute.
    r�
moduleNamercCs||_||_||_dS�N)rrr)�selfrrrr
r
r�__init__9s
zReactor.__init__rNcCst|j���dSr)r
rr)rr
r
rr>szReactor.installr)rrrr�strrrr
r
r
rr2srrcCstt�S)z=
    Return an iterator of L{IReactorInstaller} plugins.
    )r	rr
r
r
r�getReactorTypesBsrrcCs@t�D]}|j|kr|��ddlm}tt|�Sqt|��)z�
    Install the reactor with the given C{shortName} attribute.

    @raise NoSuchReactor: If no reactor is found with a matching C{shortName}.

    @raise Exception: Anything that the specified reactor can raise when installed.
    r)�reactor)rrr�twisted.internetrrrr)r�	installerrr
r
r�installReactorIs

�r"N)r�typingrr�zope.interfacerrr�twisted.internet.interfacesr�twisted.pluginrr	�twisted.python.reflectr
r�KeyErrorrrrrr"r
r
r
r�<module>s

Spamworldpro Mini