Class e.p.h.h.HALDevice(object):

Part of elisa.plugins.hal.hal View In Hierarchy

Represents an easy wrapper for a HAL device, its properties and parent properties.
Instance VariablesudiThe unique device identifier (type: str )
interfaceHAL interface for this device (type: dbus.proxies.Interface -> org.Freedesktop.Hal.Device )
propertiesThe HAL properties of this device (type: dict )
parent_propertiesThe HAL properties of the parent device of this device (type: dict )
protocol_testthe protocol test that matched for this device (type: ProtocolTest )
Line # Kind Name Docs
162 Method __init__ Don't use this directly, use create() instead, or your device will
175 Class Method create Returns a deferred that will return a new HALDevice instance.
198 Method needs_mounting Undocumented
201 Method wait_for_mount Returns a deferred that will be fired when a mount_point is set, or in
240 Method is_ignored Undocumented
243 Method is_removable Undocumented
250 Method filter Undocumented
266 Method create_model Undocumented
285 Method is_known_device Undocumented
304 Method eject Eject the associated HAL device.
288 Method _find_protocol_test Undocumented
295 Class Method _get_interface_from_udi Undocumented
300 Class Method _get_volume_interface_from_udi Undocumented
def __init__(self, udi, bus):
Don't use this directly, use create() instead, or your device will be incomplete.
@classmethod
def create(klass, udi, bus):
Returns a deferred that will return a new HALDevice instance.
def needs_mounting(self):
Undocumented
def wait_for_mount(self, timeout):
Returns a deferred that will be fired when a mount_point is set, or in timeout seconds, whichever happens first. This should not be called more than once in the lifetime of a HALDevice.
def is_ignored(self):
Undocumented
def is_removable(self):
Undocumented
def filter(self, filters):
Undocumented
def create_model(self):
Undocumented
def is_known_device(self):
Undocumented
def _find_protocol_test(self):
Undocumented
@classmethod
def _get_interface_from_udi(klass, udi, bus):
Undocumented
@classmethod
def _get_volume_interface_from_udi(klass, udi, bus):
Undocumented
def eject(self):
Eject the associated HAL device.

Return a deferred fired when ejection is complete.

Returns (type: elisa.core.utils.defer.Deferred )
API Documentation for Elisa Media Center, generated by pydoctor at 2009-03-02 18:56:05.