Trees | Indices | Help |
---|
|
object --+ | common.common.InitMixin --+ | extern.log.log.Loggable --+ | component.BaseComponent --+ | feedcomponent010.FeedComponent --+ | feedcomponent.ParseLaunchComponent --+ | object --+ | | | Stats --+ | Streamer
|
|||
child class of BaseComponentMedium |
componentMediumClass the medium class to use for this component |
|
|||
checkOffset = True whether to check continuity of offsets for eaters |
|||
logCategory = 'cons-http' Implementors can provide a category to log their messages under. |
|||
pipe_template = 'multifdsink name=sink sync=false recover-poli
|
|||
siteClass = server.Site
|
|||
multi_files = False
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
A subclass should do as little as possible in its init method. In particular, it should not try to access resources. Failures during init are marshalled back to the manager through the worker's remote_create method, since there is no component state proxied to the manager yet at the time of init.
|
Method that must be implemented by subclasses to produce the gstparse string for the component's pipeline. Subclasses should not chain up; this method raises a NotImplemented error. Returns: a new pipeline string representation.
|
BaseComponent convenience vmethod for running checks. A component implementation can override this method to run any checks that it needs to. Typically, a check_properties implementation will call the provided addMessage() callback to note warnings or errors. For errors, addMessage() will set component's mood to sad, which will abort the init process before getting to do_setup().
|
Method that can be implemented by subclasses if they wish to interact with the pipeline after it has been created and set on the component. This could include attaching signals and bus handlers.
|
|
Return a tuple (deltaadded, deltaremoved, bytes_transferred, current_clients, current_load) of our current bandwidth and user values. The deltas are estimates of how much bitrate is added, removed due to client connections, disconnections, per second. |
Update the uiState object. Such updates (through this function) are throttled to a maximum rate, to avoid saturating admin clients with traffic when many clients are connecting/disconnecting. |
BaseComponent vmethod for stopping. The component should do any cleanup it needs, but must not set the component's mood to sleeping.
|
Provide a new set of porter login information, for when we're in slave mode and the porter changes. If we're currently connected, this won't disconnect - it'll just change the information so that next time we try and connect we'll use the new ones |
Invoked when the pipeline has changed the state to playing. The default implementation sets the component's mood to HAPPY.
|
Remove all the the clients Returns a deferred fired once all clients have been removed |
Sets up component. Invokes the create_pipeline and set_pipeline vmethods, which subclasses can provide.
|
|
pipe_template
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sun May 10 13:05:47 2015 | http://epydoc.sourceforge.net |