Part of elisa.plugins.coherence.coherence_resource View In Hierarchy
The Coherence resource_provider is in charge of detecting UPnP services available on the local network. It currently only detects MediaServers.
When a new service is detected a NetworkServiceAppearedMessage
message is sent over the bus. If a service disappears, a NetworkServiceDisappearedMessage
is sent.
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 |
---|---|---|---|
65 | Method | initialize | Initialize the component. |
141 | Method | get | Get a list of specific UPnP services. Right now only media_servers are known. |
70 | Method | _bus_message_received | Undocumented |
81 | Method | _detected_media_server | Undocumented |
104 | Method | _removed_media_server | Undocumented |
115 | Method | _model_from_service | Undocumented |
129 | Method | _get_media_servers | Undocumented |
Inherited from ResourceProvider:
Line # | Kind | Name | Docs |
---|---|---|---|
94 | Method | post | Update the resource pointed by uri with
parameters .
|
107 | Method | put | Put one resource into another. Both resources are identified with URIs. |
129 | 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 |
Initialize the component.
This method is called byComponent.create
to finish the
initialization of a component.
Returns | a deferred called when a component is fully initialized
(type: twisted.internet.defer.Deferred
) |
Get a list of specific UPnP services. Right now only media_servers are known. coherence://media_servers -> list of L{elisa.plugins.base.network.NetworkServiceModel} wrapped in a I{media_servers} attribute of a L{Model} instance. TODO: - coherence://media_renderers