Part of elisa.plugins.coherence.coherence_resource View In Hierarchy
When a new service is detected a NetworkServiceAppearedMessage
message is sent over the bus. If a service disappears, a NetworkServiceDisappearedMessage
is sent.
This resource_provider depends on the
elisa.plugins.coherence.coherence_service Service so as to
correctly connect to the signals sent by Coherence when a new service is
detected/removed.
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 64 | Method | initialize | Initialize the component. |
| 140 | Method | get | Get a list of specific UPnP services. Right now only media_servers are |
| 80 | Method | _detected_media_server | Undocumented |
| 103 | Method | _removed_media_server | Undocumented |
| 114 | Method | _model_from_service | Undocumented |
| 128 | Method | _get_media_servers | 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. |
| 142 | Method | clean | Clean 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
) | |
coherence://media_servers -> list of
elisa.plugins.base.network.NetworkServiceModel wrapped in the
media_servers attribute of a Model
instance.
| Unknown Field: todo | handle coherence://media_renderers
| |