# Class e.p.g.p.GstMetadataPBClient(MetadataProvider):

Part of elisa.plugins.gstreamer.pb_client View In Hierarchy

Undocumented

Line # | Kind | Name | Docs
--- | --- | --- | ---
219 | Method | __init__ | Undocumented
224 | Method | initialize | Initialize the component.
233 | Method | clean | Clean the component.
242 | Method | get_rank | Rank determining wether the parser should be prioritized.
245 | Method | able_to_handle | Return wether this provider is able to fill in metadata, when it
249 | Method | set_process_interval | Undocumented
300 | Method | get_metadata | Retrieve the metadata for this metadata request and put it in

Inherited from Component (via MetadataProvider):

Line # | Kind | Name | Docs
--- | --- | --- | ---
85 | Class | PathDescriptor | Undocumented
97 | Class Method | create | Create and initialize the component.

def __init__(self):
overrides elisa.core.log.Loggable.__init__
Undocumented
def initialize(self):
overrides elisa.core.component.Component.initialize

Initialize the component.

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` )

def clean(self):
overrides elisa.core.component.Component.clean

Clean the component.

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` )

def get_rank(self):
overrides elisa.core.components.metadata_provider.MetadataProvider.get_rank
Rank determining wether the parser should be prioritized.

Returns | the rank as integer between 0 and 255 (type: integer )
Unknown Field: todo | We need a better System here so that the developers can decide which one to use

def able_to_handle(self, metadata):
overrides elisa.core.components.metadata_provider.MetadataProvider.able_to_handle
Return wether this provider is able to fill in metadata, when it gets this metadata dictionary.

Parameters | metadata | a dictionary containing all known and requested metadata (type: dict )
Returns | (type: bool )

def set_process_interval(self, value):
Undocumented
def get_metadata(self, metadata):
overrides elisa.core.components.metadata_provider.MetadataProvider.get_metadata
Retrieve the metadata for this metadata request and put it in there.

Parameters | metadata | a dictionary containing all the known and requested metadata, which is also filled with the new data (type: dict )
Returns | (type: `twisted.internet.defer.Deferred` )
Unknown Field: todo | determine all the keys returned for each content-type.