+
    VBiO"                         R t ^ RIHt RtRt^ RIH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 ^ R	IHt ^ R
IHt ^ RIHt  ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      tR# )z9Implementation for dbus.Bus. Not to be imported directly.)
generatorsBus	SystemBus
SessionBus
StarterBusreStructuredText)DBusException)BUS_DAEMON_IFACEBUS_DAEMON_NAMEBUS_DAEMON_PATHBUS_SESSIONBUS_STARTER
BUS_SYSTEM DBUS_START_REPLY_ALREADY_RUNNINGDBUS_START_REPLY_SUCCESSvalidate_bus_namevalidate_interface_namevalidate_member_namevalidate_object_path)BusConnection)SignalMessage)is_py2c                      a a ] tR t^.t oRt/ t]P                  RR3R ltV 3R lt	R t
]! ]
RRR4      tRR lt]! ]4      tRR	 lt]! ]4      tRR
 lt]! ]4      tR t]tRtVtV ;t# )r   a  A connection to one of three possible standard buses, the SESSION,
SYSTEM, or STARTER bus. This class manages shared connections to those
buses.

If you're trying to subclass `Bus`, you may be better off subclassing
`BusConnection`, which doesn't have all this magic.
FNc                T   V'       g$   WP                   9   d   V P                   V,          # V\        8X  d   \        pM6V\        8X  d   \        pM$V\
        8X  d   \        pM\        RV,          4      h\        P                  ! WAVR7      pWn
        V'       g   WPP                   V&   V# )a;  Constructor, returning an existing instance where appropriate.

The returned instance is actually always an instance of `SessionBus`,
`SystemBus` or `StarterBus`.

:Parameters:
    `bus_type` : cls.TYPE_SESSION, cls.TYPE_SYSTEM or cls.TYPE_STARTER
        Connect to the appropriate bus
    `private` : bool
        If true, never return an existing shared instance, but instead
        return a private connection.

        :Deprecated: since 0.82.3. Use dbus.bus.BusConnection for
            private connections.

    `mainloop` : dbus.mainloop.NativeMainLoop
        The main loop to use. The default is to use the default
        main loop if one has been set up, or raise an exception
        if none has been.
:Changed: in dbus-python 0.80:
    converted from a wrapper around a Connection to a Connection
    subclass.
zinvalid bus_type %s)mainloop)_shared_instancesr   r   r   r   r   r   
ValueErrorr   __new__	_bus_type)clsbus_typeprivater   subclassbuss   &&&&  //usr/lib/python3.14/site-packages/dbus/_dbus.pyr   Bus.__new__9   s    2 H(=(==((22 {"!H# H$!H2X=>>##HJ .1!!(+
    c                   < V P                   pV P                  P                  P                  V4      V J d   V P                  P                  V \        \
        V `  4        R # )N)r   	__class__r   getsuperr   close)selftr(   s   & r$   r+   	Bus.closel   sH    NN>>++//2d:003c4 r&   c                    V # )zReturn self, for backwards compatibility with earlier dbus-python
versions where Bus was not a subclass of Connection.

:Deprecated: since 0.80.0
 )r,   s   &r$   get_connectionBus.get_connectionr   s	     r&   zself._connection == self, for backwards
                           compatibility with earlier dbus-python versions
                           where Bus was not a subclass of Connection.c                    \        V R7      # )zStatic method that returns a connection to the session bus.

:Parameters:
    `private` : bool
        If true, do not return a shared connection.
r!   )r   r4   s   &r$   get_sessionBus.get_session~        '**r&   c                    \        V R7      # )zStatic method that returns a connection to the system bus.

:Parameters:
    `private` : bool
        If true, do not return a shared connection.
r4   )r   r4   s   &r$   
get_systemBus.get_system   s     ))r&   c                    \        V R7      # )zStatic method that returns a connection to the starter bus.

:Parameters:
    `private` : bool
        If true, do not return a shared connection.
r4   )r   r4   s   &r$   get_starterBus.get_starter   r7   r&   c                   V P                   \        8X  d   R pM2V P                   \        8X  d   RpMV P                   \        8X  d   RpMRpRV P                  P
                  V P                  P                  V\        V 4      3,          # )sessionsystemstarterzunknown bus typez<%s.%s (%s) at %#x>)r   r   r   r   r(   
__module____name__id)r,   names   & r$   __repr__Bus.__repr__   sn    >>[(D^^z)D^^{*D%D$(A(A(,(?(?(,bh(8 8 	8r&   r0   )F)rC   rB   __qualname____firstlineno____doc__r   r   TYPE_SESSIONr   r+   r1   property_connectionr5   staticmethodr9   r<   rF   __str____static_attributes____classdictcell____classcell__)r(   __classdict__s   @@r$   r   r   .   s      +88%1f! >4JKK
+ {+K* j)J+ {+K8 GGr&   c                   .   a  ] tR t^t o RtRR ltRtV tR# )r   zThe system-wide message bus.Nc                P    \         P                  V \         P                  VVR7      # )a~  Return a connection to the system bus.

:Parameters:
    `private` : bool
        If true, never return an existing shared instance, but instead
        return a private connection.
    `mainloop` : dbus.mainloop.NativeMainLoop
        The main loop to use. The default is to use the default
        main loop if one has been set up, or raise an exception
        if none has been.
)r   r!   )r   r   TYPE_SYSTEMr   r!   r   s   &&&r$   r   SystemBus.__new__   s'     {{3(#*  , 	,r&   r0   FNrC   rB   rH   rI   rJ   r   rP   rQ   rS   s   @r$   r   r      s     &, ,r&   c                   .   a  ] tR t^t o RtRR ltRtV tR# )r   z(The session (current login) message bus.Nc                P    \         P                  V \         P                  VVR7      # )a  Return a connection to the session bus.

:Parameters:
    `private` : bool
        If true, never return an existing shared instance, but instead
        return a private connection.
    `mainloop` : dbus.mainloop.NativeMainLoop
        The main loop to use. The default is to use the default
        main loop if one has been set up, or raise an exception
        if none has been.
r!   r   )r   r   rK   rW   s   &&&r$   r   SessionBus.__new__   )     {{3 0 0'$,  . 	.r&   r0   rY   rZ   r[   s   @r$   r   r      s     2. .r&   c                   .   a  ] tR t^t o RtRR ltRtV tR# )r   zbThe bus that activated this process (only valid if
this process was launched by DBus activation).
Nc                P    \         P                  V \         P                  VVR7      # )a  Return a connection to the bus that activated this process.

:Parameters:
    `private` : bool
        If true, never return an existing shared instance, but instead
        return a private connection.
    `mainloop` : dbus.mainloop.NativeMainLoop
        The main loop to use. The default is to use the default
        main loop if one has been set up, or raise an exception
        if none has been.
r^   )r   r   TYPE_STARTERrW   s   &&&r$   r   StarterBus.__new__   r`   r&   r0   rY   rZ   r[   s   @r$   r   r      s     . .r&   N)r   r   r   r   )rJ   
__future__r   __all____docformat__dbus.exceptionsr   _dbus_bindingsr	   r
   r   r   r   r   r   r   r   r   r   r   dbus.busr   dbus.lowlevelr   dbus._compatr   r   r   r   r   r0   r&   r$   <module>rm      sp    ?: "
:" )I I I I
 # ' - H, ,". .". .r&   