Package flumotion :: Package wizard :: Module interfaces :: Class IHTTPConsumerPlugin
[hide private]

Class IHTTPConsumerPlugin

source code

zope.interface.Interface --+
                           |
                          IHTTPConsumerPlugin

A http consumer plugin is how you extend the HTTP consumer page. The main purpose of the plugin is to get a consumer model (eg, a http server) specific for this plugin. This entry point should be defined in the xml for the component under the entry type "wizard".

Instance Methods [hide private]
 
__call__(wizard)
Creates http consumer plugins
source code
 
workerChanged(worker)
Called when the worker for the step changed.
source code
a HTTPServer subclass
getConsumer(streamer, audio_producer, video_producer)
Asks the plugin for a consumer model
source code
Class Variables [hide private]
  _InterfaceClass__attrs = {'__call__': <zope.interface.interfac...
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'flumotion.wizard.interfaces.IHTTPConsumerPlu...
  __iro__ = (<InterfaceClass flumotion.wizard.interfaces.IHTTPCo...
  __name__ = 'IHTTPConsumerPlugin'
  __sro__ = (<InterfaceClass flumotion.wizard.interfaces.IHTTPCo...
  _implied = {<InterfaceClass flumotion.wizard.interfaces.IHTTPC...
  dependents = <WeakKeyDictionary at 162427532>

Inherited from zope.interface.Interface (private): _Element__tagged_values

Method Details [hide private]

__call__(wizard)
(Call operator)

source code 

Creates http consumer plugins

Parameters:

workerChanged(worker)

source code 

Called when the worker for the step changed.

Parameters:

getConsumer(streamer, audio_producer, video_producer)

source code 

Asks the plugin for a consumer model

Parameters:
  • streamer (HTTPStreamer subclass) - the http streamer
  • audio_producer (AudioProducer subclass) - audio producer for this stream
  • video_producer (VideoProducer subclass) - video producer for this stream
Returns: a HTTPServer subclass
consumer

Class Variable Details [hide private]

_InterfaceClass__attrs

Value:
{'__call__': <zope.interface.interface.Method object at 0x9ae732c>,
 'getConsumer': <zope.interface.interface.Method object at 0x9ae736c>,
 'workerChanged': <zope.interface.interface.Method object at 0x9ae738c\
>}

__identifier__

Value:
'flumotion.wizard.interfaces.IHTTPConsumerPlugin'

__iro__

Value:
(<InterfaceClass flumotion.wizard.interfaces.IHTTPConsumerPlugin>,
 <InterfaceClass zope.interface.Interface>)

__sro__

Value:
(<InterfaceClass flumotion.wizard.interfaces.IHTTPConsumerPlugin>,
 <InterfaceClass zope.interface.Interface>)

_implied

Value:
{<InterfaceClass flumotion.wizard.interfaces.IHTTPConsumerPlugin>: (),
 <InterfaceClass zope.interface.Interface>: ()}