Package flumotion :: Package component :: Package consumers :: Package httpstreamer :: Module wizard_gtk :: Class HTTPStreamer
[hide private]

Class HTTPStreamer

source code

                      object --+        
                               |        
     extern.log.log.Loggable --+        
                               |        
admin.assistant.models.Component --+    
                                   |    
     admin.assistant.models.Consumer --+
                                       |
                                      HTTPStreamer

I am a model representing the configuration file for a HTTP streamer component.

Nested Classes [hide private]

Inherited from admin.assistant.models.Consumer: eaterType

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
getURL(self)
Fetch the url to this stream
source code
 
getHostname(self)
Fetch the hostname this stream will be published on
source code
 
setData(self, model)
Sets the data from another model so we can reuse it.
source code
 
getPorter(self)
Obtains this streamer's porter model.
source code
 
getProperties(self) source code

Inherited from admin.assistant.models.Consumer: setPorter, validate

Inherited from admin.assistant.models.Component: __eq__, __ne__, __repr__, addPlug, delPlug, getEaters, getFeederName, getPlugs, getWorker, link, unlink

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Inherited from extern.log.log.Loggable: __providedBy__, __provides__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]
  componentType = 'http-streamer'
the type of the component, such as ogg-muxer, this is not mandatory in the class, can also be set in the instance.
  requiresPorter = True
  prefix = 'http'

Inherited from admin.assistant.models.Component: feederType, isAtmosphereComponent

Inherited from extern.log.log.Loggable: __implemented__, logCategory

Instance Variables [hide private]
  bandwidth_limit
The bandwidth limit
  client_limit
The client limit
  has_bandwidth_limit
If a bandwidth limit was set
  has_client_limit
If a client limit was set
  hostname
the hostname this will be streamed on
  port
The port this server will be listening to
  set_hostname
If a hostname was set

Inherited from admin.assistant.models.Component: exists, name

Properties [hide private]

Inherited from admin.assistant.models.Component: component_type

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

getURL(self)

source code 

Fetch the url to this stream

Returns:
the url

getHostname(self)

source code 

Fetch the hostname this stream will be published on

Returns:
the hostname

setData(self, model)

source code 

Sets the data from another model so we can reuse it.

Parameters:

getPorter(self)

source code 

Obtains this streamer's porter model.

Overrides: admin.assistant.models.Consumer.getPorter

getProperties(self)

source code 
Overrides: admin.assistant.models.Component.getProperties