Part of elisa.plugins.wmd.wmd_resource View In Hierarchy
Line # | Kind | Name | Docs |
---|---|---|---|
63 | Method | initialize | Initialize the component. |
74 | Method | clean | Clean the component. |
87 | Method | get | Simple method to retrieve volumes. You can access it with |
111 | Method | _get_impl | Undocumented |
126 | Method | _udi_from_unit | Undocumented |
130 | Method | _create_model_from_unit | Undocumented |
146 | Method | _is_audio_cd | Undocumented |
153 | Method | _find_protocol | Undocumented |
169 | Method | _get_hotplug_info | Get the hotplug info for the unit from its device driver. |
190 | Method | _device_io_control | Send a control code to the driver handling unit, getting a result in |
208 | Method | _is_removable | Undocumented |
216 | Method | _filter | Undocumented |
226 | Method | _get_volume_info | Undocumented |
250 | Method | _drive_units_from_mask | Undocumented |
261 | Method | _on_device_change | Undocumented |
294 | Method | _send_new_devices | Undocumented |
310 | 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