文件操作 - routing.cpython-311.pyc
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/jeepney/__pycache__/routing.cpython-311.pyc
编辑文件内容
� +�c � �H � d dl mZ ddlmZmZ ddlmZ G d� d� � ZdS )� )�warn� )�MessageType�HeaderFields)�DBusErrorResponsec �b � e Zd ZdZd d�Zed� � � Zej d� � � Zd� Zd� Z 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. Nc �L � || _ || _ d| _ i | _ i | _ d S )Nr )�handle_factory� _on_unhandled�outgoing_serial�awaiting_reply�signal_callbacks)�selfr �on_unhandleds �1/usr/lib/python3/dist-packages/jeepney/routing.py�__init__zRouter.__init__ s0 � �,���)��� ��� ��� "����� c � � | j S �N)r )r s r r zRouter.on_unhandled s � ��!�!r c �6 � t dd�� � || _ d S )NzeSetting on_unhandled is deprecated. Please use the filter() method or simple receive() calls instead.� �� stacklevel)r r )r �values r r zRouter.on_unhandled s3 � �� 9�EF� H� H� H� H�"����r c �� � | xj dz c_ | j |j _ |j j t j u r*| � � � x| j |j j <