Package conduit :: Module DBus :: Class DataProviderDBusItem
[hide private]

Class DataProviderDBusItem

source code


Nested Classes [hide private]

Inherited from dbus.service.Interface: __metaclass__

Instance Methods [hide private]
 
__init__(self, dataprovider, uuid)
Constructor.
source code
 
IsPending(self) source code
 
IsConfigured(self, isSource, isTwoWay) source code
 
GetInformation(self) source code
 
GetConfigurationXml(self) source code
 
SetConfigurationXml(self, xml) source code
 
Configure(self) source code
 
AddData(self, uri) source code

Inherited from DBusItem: get_path

Inherited from DBusItem (private): _print

Inherited from dbus.service.Object: Introspect, __dbus_object_path__, __repr__, __str__, add_to_connection, connection, locations, remove_from_connection

Inherited from dbus.service.Object (private): _message_cb, _unregister_cb

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

Class Variables [hide private]

Inherited from dbus.service.Object: SUPPORTS_MULTIPLE_CONNECTIONS, SUPPORTS_MULTIPLE_OBJECT_PATHS

Instance Variables [hide private]

Inherited from dbus.service.Object (private): _connection, _fallback, _locations, _locations_lock, _object_path

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, dataprovider, uuid)
(Constructor)

source code 
Constructor. Either conn or bus_name is required; object_path
is also required.

:Parameters:
    `conn` : dbus.connection.Connection or None
        The connection on which to export this object.

        If None, use the Bus associated with the given ``bus_name``.
        If there is no ``bus_name`` either, the object is not
        initially available on any Connection.

        For backwards compatibility, if an instance of
        dbus.service.BusName is passed as the first parameter,
        this is equivalent to passing its associated Bus as
        ``conn``, and passing the BusName itself as ``bus_name``.

    `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` or `bus_name` must
        also be provided.

    `bus_name` : dbus.service.BusName or None
        Represents a well-known name claimed by this process. A
        reference to the BusName object will be held by this
        Object, preventing the name from being released during this
        Object's lifetime (unless it's released manually).

Overrides: DBusItem.__init__

IsPending(self)

source code 
Decorators:
  • @dbus.service.method(DATAPROVIDER_DBUS_IFACE, in_signature= '', out_signature= 'b')

IsConfigured(self, isSource, isTwoWay)

source code 
Decorators:
  • @dbus.service.method(DATAPROVIDER_DBUS_IFACE, in_signature= 'bb', out_signature= 'b')

GetInformation(self)

source code 
Decorators:
  • @dbus.service.method(DATAPROVIDER_DBUS_IFACE, in_signature= '', out_signature= 'a{ss}')

GetConfigurationXml(self)

source code 
Decorators:
  • @dbus.service.method(DATAPROVIDER_DBUS_IFACE, in_signature= '', out_signature= 's')

SetConfigurationXml(self, xml)

source code 
Decorators:
  • @dbus.service.method(DATAPROVIDER_DBUS_IFACE, in_signature= 's', out_signature= '')

Configure(self)

source code 
Decorators:
  • @dbus.service.method(DATAPROVIDER_DBUS_IFACE, in_signature= '', out_signature= '')

AddData(self, uri)

source code 
Decorators:
  • @dbus.service.method(DATAPROVIDER_DBUS_IFACE, in_signature= 's', out_signature= 'b')