Part of elisa.plugins.wmd.wmd_resource View In Hierarchy
Line # | Kind | Name | Docs |
---|---|---|---|
97 | Method | initialize | Initialize the component. |
108 | Method | clean | Clean the component. |
121 | Method | get | Simple method to retrieve volumes. You can access it with |
145 | Method | _get_impl | Undocumented |
160 | Method | _udi_from_unit | Undocumented |
164 | Method | _create_model_from_unit | Undocumented |
180 | Method | _is_audio_cd | Undocumented |
187 | Method | _find_protocol | Undocumented |
203 | Method | _get_hotplug_info | Get the hotplug info for the unit from its device driver. |
224 | Method | _device_io_control | Send a control code to the driver handling unit, getting a result in |
242 | Method | _is_removable | Undocumented |
250 | Method | _filter | Undocumented |
260 | Method | _get_volume_info | Undocumented |
284 | Method | _drive_units_from_mask | Undocumented |
295 | Method | _on_device_change | Undocumented |
328 | Method | _send_new_devices | Undocumented |
344 | Method | _send_removed_devices | Undocumented |
Inherited from ResourceProvider:
Line # | Kind | Name | Docs |
---|---|---|---|
103 | Method | post | Update the resource pointed by uri with
parameters . |
116 | Method | put | Put one resource into another. Both resources are identified with URIs. |
138 | Method | delete | Delete a Resource represented by a URI. |
Inherited from Component (via ResourceProvider):
Line # | Kind | Name | Docs |
---|---|---|---|
85 | Class | PathDescriptor | Undocumented |
97 | Class Method | create | Create and initialize the component. |
Inherited from Loggable (via ResourceProvider, Component):
Line # | Kind | Name | Docs |
---|---|---|---|
81 | Method | __init__ | Undocumented |
This method is called by Component.create
to finish the
initialization of a component.
Returns | a deferred called when a component is fully initialized
(type: twisted.internet.defer.Deferred
) |
This method is called when a component is not needed anymore to clean its state.
Returns | a deferred called when the component has finished cleaning its state
(type: twisted.internet.defer.Deferred
) |
volumes://
and apply a filter parameter. If you specify it
only these kind of volumes show up. Example:
:
C{volumes://localhost/?filter=dvd,cdda}
would only give you dvds and cddas. The three knows filters are: dvd, removable and cdda.
The default is that all filters are applied (like filter=dvd,cdda,removable).
In return you get a elisa.plugins.base.models.device.DevicesModel