Package dbus :: Module service :: Class FallbackObject
[hide private]
[frames] | no frames]

Class FallbackObject

source code

object --+        
         |        
 Interface --+    
             |    
        Object --+
                 |
                FallbackObject

An object that implements an entire subtree of the object-path tree.

Since: 0.82.0

Instance Methods [hide private]
 
__init__(self, conn=None, object_path=None)
Constructor.
source code

Inherited from Object: Introspect, __repr__, __str__, add_to_connection, remove_from_connection

Inherited from Object (private): _message_cb, _unregister_cb

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  SUPPORTS_MULTIPLE_OBJECT_PATHS = True

Inherited from Object: SUPPORTS_MULTIPLE_CONNECTIONS

Inherited from Interface (private): _dbus_class_table

Properties [hide private]

Inherited from Object: __dbus_object_path__, connection, locations

Inherited from object: __class__

Method Details [hide private]

__init__(self, conn=None, object_path=None)
(Constructor)

source code 

Constructor.

Note that the superclass' bus_name __init__ argument is not supported here.

Parameters:
  • conn (dbus.connection.Connection or None) - The connection on which to export this object. If this is not None, an object_path must also be provided.

    If None, the object is not initially available on any Connection.

  • object_path (str or None) - A D-Bus object path at which to make this Object available immediately. If this is not None, a conn must also be provided.

    This object will implements all object-paths in the subtree starting at this object-path, except where a more specific object has been added.

Overrides: object.__init__