403Webshell
Server IP : 195.114.193.97  /  Your IP : 216.73.217.93
Web Server : LiteSpeed
System : Linux host 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64
User : sembi4241 ( 1126)
PHP Version : 8.1.33
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

Youez - 2016 - github.com/yon3zu
LinuXploit