Module pytrafficd :: Class Daemon
[frames] | no frames]

Class Daemon


Nested Classes

Inherited from dbus.service.Interface: __metaclass__

Instance Methods
 
__init__(self, bus, config)
Constructor. Either conn or bus_name is required; object_path is also required.
 
get_image(self, newmap, ok_cb, error_cb)
 
get_traffic_map(self, ok_cb, error_cb, latitude, longitude, delta)

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

Inherited from pyneo.interfaces.volatileimage.VolatileImage: GetImage

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

Class Variables

Inherited from dbus.service.Object: SUPPORTS_MULTIPLE_CONNECTIONS, SUPPORTS_MULTIPLE_OBJECT_PATHS

Properties

Inherited from dbus.service.Object: __dbus_object_path__, connection, locations

Inherited from object: __class__

Method Details

__init__(self, bus, config)
(Constructor)

 
Constructor. Either conn or bus_name is required; object_path is also required.
Parameters:
  • conn - 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 - 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 - 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: object.__init__
(inherited documentation)