Package flumotion :: Package twisted :: Module rtsp :: Class RTSPSite
[show private | hide private]
[frames | no frames]

Class RTSPSite

  Factory --+            
            |            
ServerFactory --+        
                |        
      HTTPFactory --+    
                    |    
                 Site --+
                        |
                       RTSPSite


I am a ServerFactory that can be used in twisted.internet.interfaces.IReactorTCP.listenTCP Create me with an RTSPSiteResource object.
Method Summary
  logReply(self, code, message, headerLines, body)
  logRequest(self, ip, requestLine, headerLines)
    Inherited from Site
  __init__(self, resource, logPath, timeout)
Initialize.
  __getstate__(self)
  buildProtocol(self, addr)
Generate a channel attached to this site.
  getChildWithDefault(self, pathEl, request)
Emulate a resource's getChild method.
  getResourceFor(self, request)
Get a resource for a request.
  getSession(self, uid)
Get a previously generated session, by its unique ID.
  makeSession(self)
Generate a new Session instance, and store it for future reference.
  render(self, request)
Redirect because a Site is always a directory.
  _mkuid(self)
(internal) Generate an opaque, unique ID for a user's session.
  _openLogFile(self, path)
Override in subclasses, e.g.
    Inherited from HTTPFactory
  log(self, request)
Log a request's result to the logfile, by default in combined log format.
  startFactory(self)
This will be called before I begin listening on a Port or Connector.
  stopFactory(self)
This will be called before I stop listening on all Ports/Connectors.
  _escape(self, s)
    Inherited from Factory
  doStart(self)
Make sure startFactory is called.
  doStop(self)
Make sure stopFactory is called.

Class Variable Summary
classobj protocol = flumotion.twisted.rtsp.RTSPChannel
classobj requestFactory = flumotion.twisted.rtsp.RTSPRequest
    Inherited from Site
int counter = 0                                                                     
bool displayTracebacks = True
int isLeaf = 0                                                                     
    Inherited from HTTPFactory
NoneType logPath = None                                                                  
int timeOut = 43200                                                                 
    Inherited from Factory
Implements __implemented__ = <implementedBy twisted.internet.protoc...
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
bool noisy = True
int numPorts = 0                                                                     

Generated by Epydoc 2.1 on Fri Apr 6 10:13:41 2007 http://epydoc.sf.net