golden hour
/lib64/python2.7/site-packages/dbus
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.py
3.73 KB
Del
OK
__init__.pyc
2.59 KB
Del
OK
__init__.pyo
2.59 KB
Del
OK
_compat.py
211 B
Del
OK
_compat.pyc
241 B
Del
OK
_compat.pyo
241 B
Del
OK
_dbus.py
8.6 KB
Del
OK
_dbus.pyc
8.27 KB
Del
OK
_dbus.pyo
8.27 KB
Del
OK
_expat_introspect_parser.py
3.3 KB
Del
OK
_expat_introspect_parser.pyc
2.77 KB
Del
OK
_expat_introspect_parser.pyo
2.77 KB
Del
OK
_version.py
107 B
Del
OK
_version.pyc
215 B
Del
OK
_version.pyo
215 B
Del
OK
bus.py
17.51 KB
Del
OK
bus.pyc
15.46 KB
Del
OK
bus.pyo
15.46 KB
Del
OK
connection.py
27.12 KB
Del
OK
connection.pyc
20.5 KB
Del
OK
connection.pyo
20.5 KB
Del
OK
decorators.py
14.53 KB
Del
OK
decorators.pyc
12.18 KB
Del
OK
decorators.pyo
12.18 KB
Del
OK
exceptions.py
3.86 KB
Del
OK
exceptions.pyc
4.5 KB
Del
OK
exceptions.pyo
4.5 KB
Del
OK
gi_service.py
3.4 KB
Del
OK
gi_service.pyc
2.21 KB
Del
OK
gi_service.pyo
2.21 KB
Del
OK
glib.py
2.05 KB
Del
OK
glib.pyc
1.07 KB
Del
OK
glib.pyo
1.07 KB
Del
OK
gobject_service.py
3.62 KB
Del
OK
gobject_service.pyc
3.06 KB
Del
OK
gobject_service.pyo
3.06 KB
Del
OK
lowlevel.py
1.79 KB
Del
OK
lowlevel.pyc
1.05 KB
Del
OK
lowlevel.pyo
1.05 KB
Del
OK
mainloop
-
Del
OK
proxies.py
24.21 KB
Del
OK
proxies.pyc
19.68 KB
Del
OK
proxies.pyo
19.68 KB
Del
OK
server.py
4.52 KB
Del
OK
server.pyc
3.74 KB
Del
OK
server.pyo
3.74 KB
Del
OK
service.py
34.51 KB
Del
OK
service.pyc
24.78 KB
Del
OK
service.pyo
24.78 KB
Del
OK
types.py
529 B
Del
OK
types.pyc
860 B
Del
OK
types.pyo
860 B
Del
OK
Edit: _dbus.pyo
� oMTc @ s) d Z d d l m Z d Z d Z d d l m Z d d l m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z m Z d d l m Z d d l m Z d d l m Z e r� d d l m Z n d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d S( s9 Implementation for dbus.Bus. Not to be imported directly.i����( t generatorst Bust SystemBust SessionBust StarterBust reStructuredText( t DBusException( t BUS_DAEMON_IFACEt BUS_DAEMON_NAMEt BUS_DAEMON_PATHt BUS_SESSIONt BUS_STARTERt BUS_SYSTEMt DBUS_START_REPLY_ALREADY_RUNNINGt DBUS_START_REPLY_SUCCESSt validate_bus_namet validate_interface_namet validate_member_namet validate_object_path( t BusConnection( t SignalMessage( t is_py2( t UTF8Stringc B s� e Z d Z i Z e j e d d � Z d � Z d � Z e e d d d � Z e d � Z e e � Z e d � Z e e � Z e d � Z e e � Z d � Z e Z RS( 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. c C s� | r! | | j k r! | j | S| t k r6 t } n: | t k rK t } n% | t k r` t } n t d | � � t j | | d | �} | | _ | s� | | j | <n | S( s� 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. s invalid bus_type %st mainloop( t _shared_instancesR R R R R R t ValueErrorR t __new__t _bus_type( t clst bus_typet privateR t subclasst bus( ( s0 /usr/lib64/python2.7/site-packages/dbus/_dbus.pyR : s c C sK | j } | j j j | � | k r4 | j j | =n t t | � j � d S( N( R t __class__R t gett superR t close( t selft t( ( s0 /usr/lib64/python2.7/site-packages/dbus/_dbus.pyR$ m s c C s | S( s� Return self, for backwards compatibility with earlier dbus-python versions where Bus was not a subclass of Connection. :Deprecated: since 0.80.0 ( ( R% ( ( s0 /usr/lib64/python2.7/site-packages/dbus/_dbus.pyt get_connections s s� self._connection == self, for backwards compatibility with earlier dbus-python versions where Bus was not a subclass of Connection.c C s t d | � S( s� Static method that returns a connection to the session bus. :Parameters: `private` : bool If true, do not return a shared connection. R ( R ( R ( ( s0 /usr/lib64/python2.7/site-packages/dbus/_dbus.pyt get_session s c C s t d | � S( s� Static method that returns a connection to the system bus. :Parameters: `private` : bool If true, do not return a shared connection. R ( R ( R ( ( s0 /usr/lib64/python2.7/site-packages/dbus/_dbus.pyt get_system� s c C s t d | � S( s� Static method that returns a connection to the starter bus. :Parameters: `private` : bool If true, do not return a shared connection. R ( R ( R ( ( s0 /usr/lib64/python2.7/site-packages/dbus/_dbus.pyt get_starter� s c C st | j t k r d } n6 | j t k r0 d } n | j t k rH d } n d } d | j j | j j | t | � f S( Nt sessiont systemt starters unknown bus types <%s.%s (%s) at %#x>( R R R R R! t __module__t __name__t id( R% t name( ( s0 /usr/lib64/python2.7/site-packages/dbus/_dbus.pyt __repr__� s N( R/ R. t __doc__R R t TYPE_SESSIONt Falset NoneR R$ R'