+
    VBisD                     &   Rt Rt^ RIt^ RIt^ RIHtHtHtHtH	t	H
t
HtHtHtHtHtHtHtHtHtHtHtHtHtHtHtHtHt ^ RIHt ^ RIHt ^ RI H!t! ^ RI"H#t# R]: R	]: R
]: R2t$ Rt%]PL                  ! R4      t' ! R R](4      t) ! R R ]4      t*R# )BusConnectionreStructuredTextN)BUS_DAEMON_IFACEBUS_DAEMON_NAMEBUS_DAEMON_PATHBUS_SESSIONBUS_STARTER
BUS_SYSTEM DBUS_START_REPLY_ALREADY_RUNNINGDBUS_START_REPLY_SUCCESSNAME_FLAG_ALLOW_REPLACEMENTNAME_FLAG_DO_NOT_QUEUENAME_FLAG_REPLACE_EXISTINGRELEASE_NAME_REPLY_NON_EXISTENTRELEASE_NAME_REPLY_NOT_OWNERRELEASE_NAME_REPLY_RELEASED REQUEST_NAME_REPLY_ALREADY_OWNERREQUEST_NAME_REPLY_EXISTSREQUEST_NAME_REPLY_IN_QUEUE REQUEST_NAME_REPLY_PRIMARY_OWNERvalidate_bus_namevalidate_error_namevalidate_interface_namevalidate_member_namevalidate_object_path)
Connection)DBusException)HANDLER_RESULT_NOT_YET_HANDLED)is_py2ztype='signal',sender='z',interface='z"',member='NameOwnerChanged',path='z',arg0='%s'z)org.freedesktop.DBus.Error.NameHasNoOwnerzdbus.busc                   0   a  ] tR t^<t o RtR tR tRtV tR# )NameOwnerWatchc           
        aa \        S4       V3R  lpVV3R lpVP                  VR\        \        \        SR7      V n        VP                  \        \        \        RRS3SV4      V n        R# )c                    < S! V4       R # N )owned	old_owner	new_ownercallbacks   &&&-/usr/lib/python3.14/site-packages/dbus/bus.py	signal_cb*NameOwnerWatch.__init__.<locals>.signal_cbB   s    Y    c                    < V P                  4       \        8X  d   S! R 4       R# \        P                  ! 4        \        P                  RSV P                  V R3R7       R# ) zGetNameOwner(%s) failed:N)exc_info)get_dbus_name_NAME_HAS_NO_OWNERloggingbasicConfig_loggerdebug	__class__)ebus_namer(   s   &r)   error_cb)NameOwnerWatch.__init__.<locals>.error_cbE   sJ     $66##%8(()Q'=  ?r,   NameOwnerChanged)arg0GetNameOwnersN)r   add_signal_receiverr   r   r   _match
call_async_pending_call)selfbus_connr8   r(   r*   r9   s   &&ff  r)   __init__NameOwnerWatch.__init__?   sm    (#	 	? 2293E3C3B3B8@ 3 B &001@1A1?14xk198Er,   c                    V P                   e   V P                   P                  4        V P                  e   V P                  P                  4        R V n         R V n        R # r#   )r@   removerB   cancelrC   s   &r)   rI   NameOwnerWatch.cancelZ   sI    ;;"KK )%%'!r,   )r@   rB   N)	__name__
__module____qualname____firstlineno__	__slots__rE   rI   __static_attributes____classdictcell__)__classdict__s   @r)   r    r    <   s     +IE6" "r,   r    c                      a a ] tR t^ct oRt]t ]t ]	t
 ]t]t]R3R ltRV 3R lltR tR tRR ltR tRR	 ltRR
 ltR tR tR tR tR tR tR tR tR tR t Rt!Vt"V ;t## )r   zlA connection to a D-Bus daemon that implements the
``org.freedesktop.DBus`` pseudo-service.

:Since: 0.81.0
Nc                n    V P                  WR 7      p\        P                  ! 4       Vn        / Vn         V# ))mainloop)_new_for_busweakrefWeakValueDictionary
_bus_names_signal_sender_matches)clsaddress_or_typerV   buss   &&& r)   __new__BusConnection.__new__w   s7    B !446%'"5
r,   c                  <a VP                  R R4      pVe'   Ve   \        R4      hTp^ RIHp V! R\        ^R7       \
        \        V `  ! WW4V3/ VB oVeL   V\        8w  dA   VR,          R8X  d   V3R lp	MSP                  p	V P                  WI4      p
WP                  S&   V P                  \        S4      4       S# )	named_serviceN3bus_name and named_service cannot both be specifiedwarnzrPassing the named_service parameter to add_signal_receiver by name is deprecated: please use positional parameters
stacklevelN   N:c                 :   < V R 8X  d   SP                  4        R# R# )r.   N)rH   )r'   matchs   &r)   r(   3BusConnection.add_signal_receiver.<locals>.callback   s     B 'r,   )pop	TypeErrorwarningsre   DeprecationWarningsuperr   r?   r   set_sender_name_ownerwatch_name_ownerr[   add_match_stringstr)rC   handler_functionsignal_namedbus_interfacer8   pathkeywordsrb   re   r(   watchrl   r6   s   &&&&&&,    @r)   r?   !BusConnection.add_signal_receiver   s     !_d;$# !, - -$H% K#3 mT> ~" "  X%@|s"' !66))(=E16''.c%j)r,   c                    V P                  \        V4      4       V P                  P                  VR 4      pVe   VP	                  4        R # R # r#   ) remove_match_string_non_blockingrv   r[   rn   rI   )rC   rl   r|   s   && r)   _clean_up_signal_match$BusConnection._clean_up_signal_match   s@    --c%j9++//t<LLN r,   c                   Ve,   VR,          R8w  d   V\         8w  d    V P                  V4      # V#   \         dG   pTP                  4       \        8w  d   h T P                  T4       T P                  T4      u R p?# R p?ii ; i)Nrh   rj   )r   get_name_ownerr   r0   r1   start_service_by_name)rC   r8   r7   s   && r)   activate_name_owner!BusConnection.activate_name_owner   s|     Xb\S%8O+5**844 O ! 5??$(::**84**8445s   2 B;A>8B>Bc                B   V'       d   V P                  4        VP                  RR4      pVe'   Ve   \        R4      h^ RIHp V! R\
        ^R7       TpV'       d0   \        RRP                  VP                  4       4      ,          4      hV P                  WVVVR	7      # )
aj  Return a local proxy for the given remote object.

Method calls on the proxy are translated into method calls on the
remote object.

:Parameters:
    `bus_name` : str
        A bus name (either the unique name or a well-known name)
        of the application owning the object. The keyword argument
        named_service is a deprecated alias for this.
    `object_path` : str
        The object path of the desired object
    `introspect` : bool
        If true (default), attempt to introspect the remote
        object to find out supported methods and their signatures
    `follow_name_owner_changes` : bool
        If the object path is a well-known name and this parameter
        is false (default), resolve the well-known name to the unique
        name of its current owner and bind to that instead; if the
        ownership of the well-known name changes in future,
        keep communicating with the original owner.
        This is necessary if the D-Bus API used is stateful.

        If the object path is a well-known name and this parameter
        is true, whenever the well-known name changes ownership in
        future, bind to the new owner, if any.

        If the given object path is a unique name, this parameter
        has no effect.

:Returns: a `dbus.proxies.ProxyObject`
:Raises `DBusException`: if resolving the well-known name to a
    unique name fails
rb   Nrc   rd   ziPassing the named_service parameter to get_object by name is deprecated: please use positional parametersrf   z4get_object does not take these keyword arguments: %sz, )
introspectfollow_name_owner_changes)	_require_main_looprn   ro   rp   re   rq   joinkeysProxyObjectClass)rC   r8   object_pathr   r   kwargsrb   re   s   &&&&&,  r)   
get_objectBusConnection.get_object   s    H %##%

?D9$# !/ 0 0% C#3 %H ,.2ii.FG H H $$T[0:?X % Z 	Zr,   c                ^    \        V4       V P                  \        \        \        RRV34      # )zGet the numeric uid of the process owning the given bus name.

:Parameters:
    `bus_name` : str
        A bus name, either unique or well-known
:Returns: a `dbus.UInt32`
:Since: 0.80.0
GetConnectionUnixUserr>   r   call_blockingr   r   r   rC   r8   s   &&r)   get_unix_userBusConnection.get_unix_user   s0     	(#!!/?"24K"%{4 	4r,   c           
     b    \        V4       RV P                  \        \        \        RRW34      3# )a  Start a service which will implement the given bus name on this Bus.

:Parameters:
    `bus_name` : str
        The well-known bus name to be activated.
    `flags` : dbus.UInt32
        Flags to pass to StartServiceByName (currently none are
        defined)

:Returns: A tuple of 2 elements. The first is always True, the
    second is either START_REPLY_SUCCESS or
    START_REPLY_ALREADY_RUNNING.

:Raises `DBusException`: if the service could not be started.
:Since: 0.80.0
TStartServiceByNamesur   )rC   r8   flagss   &&&r)   r   #BusConnection.start_service_by_name   s;    " 	(#d((/)9)=)-/@B C 	Cr,   c           	     b    \        VRR7       V P                  \        \        \        RRW34      # )a  Request a bus name.

:Parameters:
    `name` : str
        The well-known name to be requested
    `flags` : dbus.UInt32
        A bitwise-OR of 0 or more of the flags
        `NAME_FLAG_ALLOW_REPLACEMENT`,
        `NAME_FLAG_REPLACE_EXISTING`
        and `NAME_FLAG_DO_NOT_QUEUE`
:Returns: `REQUEST_NAME_REPLY_PRIMARY_OWNER`,
    `REQUEST_NAME_REPLY_IN_QUEUE`,
    `REQUEST_NAME_REPLY_EXISTS` or
    `REQUEST_NAME_REPLY_ALREADY_OWNER`
:Raises `DBusException`: if the bus daemon cannot be contacted or
    returns an error.
Fallow_uniqueRequestNamer   r   )rC   namer   s   &&&r)   request_nameBusConnection.request_name  s1    $ 	$U3!!/?"2M"&7 	7r,   c                b    \        VRR7       V P                  \        \        \        RRV34      # )a+  Release a bus name.

:Parameters:
    `name` : str
        The well-known name to be released
:Returns: `RELEASE_NAME_REPLY_RELEASED`,
    `RELEASE_NAME_REPLY_NON_EXISTENT`
    or `RELEASE_NAME_REPLY_NOT_OWNER`
:Raises `DBusException`: if the bus daemon cannot be contacted or
    returns an error.
Fr   ReleaseNamer>   r   )rC   r   s   &&r)   release_nameBusConnection.release_name/  s1     	$U3!!/?"2M"%w0 	0r,   c                F    V P                  \        \        \        RRR4      # )zqReturn a list of all currently-owned names on the bus.

:Returns: a dbus.Array of dbus.UTF8String
:Since: 0.81.0
	ListNamesr.   r$   r   r   r   r   rJ   s   &r)   
list_namesBusConnection.list_names@  s%     !!/?"2K"$b* 	*r,   c                F    V P                  \        \        \        RRR4      # )zwReturn a list of all names that can be activated on the bus.

:Returns: a dbus.Array of dbus.UTF8String
:Since: 0.81.0
ListActivatableNamesr.   r$   r   rJ   s   &r)   list_activatable_names$BusConnection.list_activatable_namesJ  s&     !!/?"24J"$b* 	*r,   c                b    \        VRR7       V P                  \        \        \        RRV34      # )zReturn the unique connection name of the primary owner of the
given name.

:Raises `DBusException`: if the `bus_name` has no owner
:Since: 0.81.0
Fr   r=   r>   r   r   s   &&r)   r   BusConnection.get_name_ownerT  s1     	(7!!/?"2N"%{4 	4r,   c                    \        WV4      # )zWatch the unique connection name of the primary owner of the
given name.

`callback` will be called with one argument, which is either the
unique connection name, or the empty string (meaning the name is
not owned).

:Since: 0.81.0
)r    )rC   r8   r(   s   &&&r)   rt   BusConnection.watch_name_owner`  s     dh77r,   c           
     Z    \        V P                  \        \        \        RRV34      4      # )zReturn True iff the given bus name has an owner on this bus.

:Parameters:
    `bus_name` : str
        The bus name to look up
:Returns: a `bool`
NameHasOwnerr>   )boolr   r   r   r   r   s   &&r)   name_has_ownerBusConnection.name_has_ownerl  s.     D&&'7'*XK9 : 	:r,   c                L    V P                  \        \        \        RRV34       R# )Arrange for this application to receive messages on the bus that
match the given rule. This version will block.

:Parameters:
    `rule` : str
        The match rule
:Raises `DBusException`: on error.
:Since: 0.80.0
AddMatchr>   Nr   rC   rules   &&r)   ru   BusConnection.add_match_stringx  s"     	?O+Ztg	Gr,   c           
     P    V P                  \        \        \        RRV3RR4       R# )Arrange for this application to receive messages on the bus that
match the given rule. This version will not block, but any errors
will be ignored.


:Parameters:
    `rule` : str
        The match rule
:Raises `DBusException`: on error.
:Since: 0.80.0
r   r>   NrA   r   r   r   r   s   &&r)   add_match_string_non_blocking+BusConnection.add_match_string_non_blocking  s$     	(*cD7d	$r,   c                L    V P                  \        \        \        RRV34       R# )r   RemoveMatchr>   Nr   r   s   &&r)   remove_match_string!BusConnection.remove_match_string  s"     	?O+]C$	Jr,   c           
     P    V P                  \        \        \        RRV3RR4       R# )r   r   r>   Nr   r   s   &&r)   r   .BusConnection.remove_match_string_non_blocking  s$     	(-tgd	$r,   r$   )NNNN)TF)    )$rL   rM   rN   rO   __doc__r   TYPE_SESSIONr	   TYPE_SYSTEMr   TYPE_STARTERr   START_REPLY_SUCCESSr
   START_REPLY_ALREADY_RUNNINGr_   r?   r   r   r   r   r   r   r   r   r   r   rt   r   ru   r   r   r   rQ   rR   __classcell__)r6   rS   s   @@r)   r   r   c   s      "LH KHL$ 3"B%1D 	@7Zr4C27.0"**
4
8
:G$ J$ $r,   )r   )+__all____docformat__r2   rX   _dbus_bindingsr   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   dbus.connectionr   dbus.exceptionsr   dbus.lowlevelr   dbus._compatr   _NAME_OWNER_CHANGE_MATCHr1   	getLoggerr4   objectr    r   r$   r,   r)   <module>r      s   2 "  	I 	I 	I 	I 	I 	I 	I ' ) 8   /0@.	0 
 A 


J
'$"V $"NO$J O$r,   