Class e.p.f.f.FilteredSharesResource(ResourceProvider):

Part of elisa.plugins.filtered_shares.filtered_shares_resource View In Hierarchy

No class docstring
Line # Kind Name Docs
38 Method get Returns a filtered list of all the known resource providers for network
88 Method _filter_list 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
83 Class PathDescriptor Undocumented
95 Class Method create Create and initialize the component.
128 Method initialize Initialize the component.
140 Method clean Clean the component.
153 Method name__get Undocumented
158 Method name__set Undocumented

Inherited from Loggable (via ResourceProvider, Component):

Line # Kind Name Docs
81 Method __init__ Undocumented
def get(self, uri, model):
Returns a filtered list of all the known resource providers for network shares: lan:// and coherence://media_servers and merges them corresponding to your selected filter. You will always get a FilteredSharesModel containing the list of services that fit your request.

The filter is given as a parameter in the URI. Known filters are: 'file', 'audio' and 'upnp'. You can even request multiple ones at a time by comma seperate them: network-services:///?filter=file,audio.

def _filter_list(self, input_model, list_name, model):
Undocumented
API Documentation for Elisa Media Center, generated by pydoctor at 2009-04-27 17:55:12.