Package flumotion :: Package component :: Package misc :: Package porter :: Module porter :: Class RTSPPorterProtocol
[hide private]

Class RTSPPorterProtocol

source code

twisted.internet.protocol.BaseProtocol --+            
                                         |            
        twisted.internet.protocol.Protocol --+        
                                             |        
                   extern.log.log.Loggable --+        
                                             |        
                                PorterProtocol --+    
                                                 |    
                                HTTPPorterProtocol --+
                                                     |
                                                    RTSPPorterProtocol

Instance Methods [hide private]
 
writeNotFoundResponse(self)
Write a response indicating that the requested resource was not found in this protocol.
source code
 
writeServiceUnavailableResponse(self)
Write a response indicating that the requested resource was temporarily uavailable in this protocol.
source code

Inherited from HTTPPorterProtocol: extractIdentifier, generateRequestId, injectRequestId, parseLine, unparseLine

Inherited from PorterProtocol: __init__, connectionLost, connectionMade, dataReceived

Inherited from PorterProtocol (private): _timeout

Inherited from twisted.internet.protocol.Protocol: __provides__, logPrefix

Inherited from twisted.internet.protocol.BaseProtocol: __providedBy__, makeConnection

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

Class Variables [hide private]
  scheme = 'rtsp'
  protos = ['RTSP/1.0']

Inherited from HTTPPorterProtocol: requestIdBitsNo, requestIdParameter

Inherited from PorterProtocol: MAX_SIZE, PORTER_CLIENT_TIMEOUT, delimiters, logCategory

Inherited from twisted.internet.protocol.Protocol: __implemented__

Inherited from twisted.internet.protocol.BaseProtocol: connected, transport

Method Details [hide private]

writeNotFoundResponse(self)

source code 

Write a response indicating that the requested resource was not found in this protocol.

Subclasses should override this to use the correct protocol.

Overrides: PorterProtocol.writeNotFoundResponse
(inherited documentation)

writeServiceUnavailableResponse(self)

source code 

Write a response indicating that the requested resource was temporarily uavailable in this protocol.

Subclasses should override this to use the correct protocol.

Overrides: PorterProtocol.writeServiceUnavailableResponse
(inherited documentation)