AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/jeepney/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3/dist-packages/jeepney/__pycache__/routing.cpython-310.pyc
o

���`�@s:ddlmZddlmZmZddlmZGdd�d�ZdS)�)�warn�)�MessageType�HeaderFields)�DBusErrorResponsec@sLeZdZdZddd�Zedd��Zejdd��Zdd	�Zd
d�Z	dd
�Z
dS)�Routera[Routing for messages coming back to a client application.
    
    :param handle_factory: Constructor for an object like asyncio.Future,
        with methods *set_result* and *set_exception*. Outgoing method call
        messages will get a handle associated with them.
    :param on_unhandled: Callback for messages not otherwise dispatched.
    NcCs"||_||_d|_i|_i|_dS)Nr)�handle_factory�
_on_unhandled�outgoing_serial�awaiting_reply�signal_callbacks)�selfr�on_unhandled�r�1/usr/lib/python3/dist-packages/jeepney/routing.py�__init__s

zRouter.__init__cCs|jS�N)r	)r
rrrrszRouter.on_unhandledcCstddd�||_dS)NzeSetting on_unhandled is deprecated. Please use the filter() method or simple receive() calls instead.���
stacklevel)rr	)r
�valuerrrrs�
cCsD|jd7_|j|j_|jjtjur |��|j|jj<}|SdS)zNSet the serial number in the message & make a handle if a method call
        rN)r
�header�serial�message_typer�method_callrr)r
�msg�handlerrr�outgoings
�zRouter.outgoingcCs tddd�||j|||f<dS)z%Add a callback for a signal.
        zQThe subscribe_signal() method is deprecated. Please use the filter() API instead.rrN)rr)r
�callback�path�	interface�memberrrr�subscribe_signal)s�zRouter.subscribe_signalcCs�|j}|jtjur2|j�tjd�|j�tjd�|j�tj	d�f}|j
�|d�}|dur2||j�dS|j�tjd�}|j
�|d�}|durb|jtjurS|�|j�dS|jtjurb|�t|��dS|jrl|�|�dSdS)z#Route an incoming message.
        N���)rrr�signal�fields�getrrr r!r�body�reply_serialr�pop�
method_return�
set_result�error�
set_exceptionrr)r
r�hdr�key�cbr(�reply_handlerrr�incoming0s,�
�zRouter.incomingr)�__name__�
__module__�__qualname__�__doc__r�propertyr�setterrr"r2rrrrrs



rN)�warningsr�	low_levelrr�wrappersrrrrrr�<module>s

Anon7 - 2022
AnonSec Team