%PDF- %PDF-
| Direktori : /usr/lib/python3/dist-packages/jeepney/__pycache__/ |
| Current File : //usr/lib/python3/dist-packages/jeepney/__pycache__/routing.cpython-312.pyc |
�
+�c � �@ � d dl mZ ddlmZmZ ddlmZ G d� d� Zy)� )�warn� )�MessageType�HeaderFields)�DBusErrorResponsec �^ � e Zd ZdZd d�Zed� � Zej d� � Zd� Zd� Z d� Z
y)
�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 �J � || _ || _ d| _ i | _ i | _ y )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__ s* � �,���)��� ��� ��� "��� c � � | j S �N)r )r s r r zRouter.on_unhandled s � ��!�!�!r c �, � t dd�� || _ y )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 s � �� 9�EF� H�"��r c � � | xj dz
c_ | j |j _ |j j t j
u r5| j
� x| j |j j <