ó 毖Sc@s)dZddlmZdZdZddlmZdd lmZm Z m Z m Z m Z m Z mZmZmZmZmZmZdd lmZdd lmZdd lmZerÍdd lmZndefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdS(s9Implementation for dbus.Bus. Not to be imported directly.iÿÿÿÿ(t generatorstBust SystemBust SessionBust StarterBustreStructuredText(t DBusException( tBUS_DAEMON_IFACEtBUS_DAEMON_NAMEtBUS_DAEMON_PATHt BUS_SESSIONt BUS_STARTERt BUS_SYSTEMt DBUS_START_REPLY_ALREADY_RUNNINGtDBUS_START_REPLY_SUCCESStvalidate_bus_nametvalidate_interface_nametvalidate_member_nametvalidate_object_path(t BusConnection(t SignalMessage(tis_py2(t UTF8StringcBs§eZdZiZejed d„Zd„Z d„Z e e d d dƒZ ed„Z ee ƒZ ed„ZeeƒZed„ZeeƒZd„ZeZRS( s 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. cCs«| r!||jkr!|j|S|tkr6t}n:|tkrKt}n%|tkr`t}ntd|ƒ‚tj ||d|ƒ}||_ |s§||j|(RR R R R!t __module__t__name__tid(R%tname((s0/usr/lib64/python2.7/site-packages/dbus/_dbus.pyt__repr__¡s     N(R/R.t__doc__RRt TYPE_SESSIONtFalsetNoneRR$R'tpropertyt _connectionR(t staticmethodR)R*R2t__str__(((s0/usr/lib64/python2.7/site-packages/dbus/_dbus.pyR/s   2        cBseZdZedd„ZRS(sThe system-wide message bus.cCstj|tjd|d|ƒS(sÆ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. RR(RRt TYPE_SYSTEM(RRR((s0/usr/lib64/python2.7/site-packages/dbus/_dbus.pyRµs N(R/R.R3R5R6R(((s0/usr/lib64/python2.7/site-packages/dbus/_dbus.pyR³scBseZdZedd„ZRS(s(The session (current login) message bus.cCstj|tjd|d|ƒS(sÇ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. RR(RRR4(RRR((s0/usr/lib64/python2.7/site-packages/dbus/_dbus.pyRÆs N(R/R.R3R5R6R(((s0/usr/lib64/python2.7/site-packages/dbus/_dbus.pyRÄscBseZdZedd„ZRS(sjThe bus that activated this process (only valid if this process was launched by DBus activation). cCstj|tjd|d|ƒS(sÛ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. RR(RRt TYPE_STARTER(RRR((s0/usr/lib64/python2.7/site-packages/dbus/_dbus.pyRÙs N(R/R.R3R5R6R(((s0/usr/lib64/python2.7/site-packages/dbus/_dbus.pyRÕsN(sBuss SystemBuss SessionBuss StarterBus(R3t __future__Rt__all__t __docformat__tdbus.exceptionsRt_dbus_bindingsRRR R R R R RRRRRtdbus.busRt dbus.lowlevelRt dbus._compatRRRRRR(((s0/usr/lib64/python2.7/site-packages/dbus/_dbus.pytsR„