Package flumotion :: Package component :: Package common :: Package streamer :: Module fragmentedstreamer :: Class Site
[hide private]

classobj Site

source code

  twisted.internet.protocol.Factory --+            
                                      |            
twisted.internet.protocol.ServerFactory --+        
                                          |        
               twisted.web.http.HTTPFactory --+    
                                              |    
                        twisted.web.server.Site --+
                                                  |
                                                 Site

A web site: manage log, sessions, and resources.

Nested Classes [hide private]
requestFactory
A factory which is called with (channel) and creates Request instances.
Instance Methods [hide private]
 
__init__(self, resource) source code

Inherited from twisted.web.server.Site: __getstate__, __provides__, acceptableProtocols, buildProtocol, getChildWithDefault, getResourceFor, getSession, makeSession, render

Inherited from twisted.web.server.Site (private): _entropy, _mkuid, _openLogFile

Inherited from twisted.web.http.HTTPFactory: log, protocol, startFactory, stopFactory

Inherited from twisted.web.http.HTTPFactory (private): _updateLogDateTime

Inherited from twisted.internet.protocol.Factory: __providedBy__, doStart, doStop, logPrefix

Class Methods [hide private]

Inherited from twisted.internet.protocol.Factory: forProtocol

Class Variables [hide private]

Inherited from twisted.web.server.Site: __implemented__, isLeaf

Inherited from twisted.web.http.HTTPFactory: logPath, timeOut

Inherited from twisted.internet.protocol.Factory: noisy, numPorts

Instance Variables [hide private]

Inherited from twisted.web.server.Site: counter, displayTracebacks, sessionCheckTime, sessionFactory

Inherited from twisted.web.http.HTTPFactory (private): _logDateTime, _logDateTimeCall, _logFormatter, _nativeize, _reactor

Method Details [hide private]

__init__(self, resource)
(Constructor)

source code 
Parameters:
  • resource - The root of the resource hierarchy. All request traversal for requests received by this factory will begin at this resource.
  • requestFactory - Overwrite for default requestFactory.
Overrides: twisted.web.http.HTTPFactory.__init__
(inherited documentation)