Ñò 9nÛLc@sœdZddklZdZdZddkZddkZddkZdd kl Z dd k l Z dd k l Z lZlZlZlZlZlZlZlZlZlZlZlZdd klZdd klZyddkZWnej oddk ZnXdefd„ƒYZ!de!fd„ƒYZ"de!fd„ƒYZ#de!fd„ƒYZ$dei%jo ddd„ƒYZ&e&ƒa'ndS(s9Implementation for dbus.Bus. Not to be imported directly.iÿÿÿÿ(t generatorstBust SystemBust SessionBust StarterBustreStructuredTextN(t print_exc(t DBusException( tBUS_DAEMON_NAMEtBUS_DAEMON_PATHtBUS_DAEMON_IFACEt UTF8Stringtvalidate_member_nametvalidate_interface_nametvalidate_bus_nametvalidate_object_patht BUS_SESSIONt BUS_SYSTEMt BUS_STARTERtDBUS_START_REPLY_SUCCESSt DBUS_START_REPLY_ALREADY_RUNNING(t BusConnection(t SignalMessagecBs§eZdZhZeied 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¶| o||ijo |i|S|tjo t}n?|tjo t}n(|tjo t}ntd|ƒ‚ti ||d|ƒ}||_ |p||i|(RRRRR!t __module__t__name__tid(R%tname((s./usr/lib/python2.6/site-packages/dbus/_dbus.pyt__repr__©s     N(R/R.t__doc__RRt TYPE_SESSIONtFalsetNoneRR$R'tpropertyt _connectionR(t staticmethodR)R*R2t__str__(((s./usr/lib/python2.6/site-packages/dbus/_dbus.pyR7s   2        cBseZdZedd„ZRS(sThe system-wide message bus.cCsti|tid|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((s./usr/lib/python2.6/site-packages/dbus/_dbus.pyR½s N(R/R.R3R5R6R(((s./usr/lib/python2.6/site-packages/dbus/_dbus.pyR»scBseZdZedd„ZRS(s(The session (current login) message bus.cCsti|tid|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((s./usr/lib/python2.6/site-packages/dbus/_dbus.pyRÎs N(R/R.R3R5R6R(((s./usr/lib/python2.6/site-packages/dbus/_dbus.pyRÌscBseZdZedd„ZRS(sjThe bus that activated this process (only valid if this process was launched by DBus activation). cCsti|tid|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((s./usr/lib/python2.6/site-packages/dbus/_dbus.pyRás N(R/R.R3R5R6R(((s./usr/lib/python2.6/site-packages/dbus/_dbus.pyRÝstDBUS_PYTHON_NO_DEPRECATEDt_DBusBindingsEmulationcBs)eZdZd„Zd„Zd„ZRS(s0A partial emulation of the dbus_bindings module.cCsdS(Ns_DBusBindingsEmulation()((R%((s./usr/lib/python2.6/site-packages/dbus/_dbus.pyR:õscCsdS(Ns_DBusBindingsEmulation()((R%((s./usr/lib/python2.6/site-packages/dbus/_dbus.pyR2÷scCs"ddki}|at||ƒS(Niÿÿÿÿ(tdbus.dbus_bindingst dbus_bindingstgetattr(R%tattrtm((s./usr/lib/python2.6/site-packages/dbus/_dbus.pyt __getattr__ùs(R/R.R3R:R2RD(((s./usr/lib/python2.6/site-packages/dbus/_dbus.pyR>ós  (sBuss SystemBuss SessionBuss StarterBus(((R3t __future__Rt__all__t __docformat__tostsystweakreft tracebackRtdbus.exceptionsRt_dbus_bindingsRR R R R R RRRRRRRtdbus.busRt dbus.lowlevelRtthreadt ImportErrort dummy_threadRRRRtenvironR>R@(((s./usr/lib/python2.6/site-packages/dbus/_dbus.pyts.   X„