Class e.p.c.c.CoherenceResource(ResourceProvider):

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.

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
def initialize(self):
Initialize the component.

This method is called by Component.create to finish the initialization of a component.

Returnsa deferred called when a component is fully initialized (type: twisted.internet.defer.Deferred )
def _detected_media_server(self, client, udn):
Undocumented
def _removed_media_server(self, udn=None):
Undocumented
def _model_from_service(self, service):
Undocumented
def _get_media_servers(self, model):
Undocumented
def get(self, uri, context_model=None):
Get a list of specific UPnP services. Right now only media_servers are known.

coherence://media_servers -> list of elisa.plugins.base.network.NetworkServiceModel wrapped in the media_servers attribute of a Model instance.

Unknown Field: todohandle coherence://media_renderers
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.