3 iRVd" @ s d Z ddlmZ dZdZddlmZ dd lmZm Z m Z mZmZm Z mZmZmZmZmZmZ dd lmZ ddlmZ ddlmZ erdd lmZ G dd deZG dd deZG dd deZG dd deZdS )z9Implementation for dbus.Bus. Not to be imported directly. ) generatorsBus SystemBus SessionBus StarterBusZreStructuredText) DBusException)BUS_DAEMON_IFACEBUS_DAEMON_NAMEBUS_DAEMON_PATHBUS_SESSIONBUS_STARTER BUS_SYSTEM DBUS_START_REPLY_ALREADY_RUNNINGDBUS_START_REPLY_SUCCESSvalidate_bus_namevalidate_interface_namevalidate_member_namevalidate_object_path) BusConnection) SignalMessage)is_py2) UTF8Stringc s e Zd ZdZi ZejddfddZ fddZdd Z e e ddd ZdddZe eZdd dZe eZdddZe eZdd ZeZ ZS )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 C sx | r|| j kr| j | S |tkr(t}n(|tkr6t}n|tkrDt}ntd| tj |||d}||_ |st|| j |<