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

Class HTTPPorterClientFactory

source code

          twisted.internet.protocol.Factory --+                
                                              |                
        twisted.internet.protocol.ClientFactory --+            
                                                  |            
                  twisted.spread.pb.PBClientFactory --+        
                                                      |        
                                common.log.Loggable --+        
                                                      |        
          twisted.internet.protocol.Factory --+       |        
                                              |       |        
        twisted.internet.protocol.ClientFactory --+   |        
                                                  |   |        
twisted.internet.protocol.ReconnectingClientFactory --+        
                                                      |        
                 twisted.pb.ReconnectingPBClientFactory --+    
                                                          |    
                                        PorterClientFactory --+
                                                              |
                                                             HTTPPorterClientFactory

Nested Classes [hide private]

Inherited from twisted.spread.pb.PBClientFactory: protocol

Instance Methods [hide private]
 
__init__(self, childFactory, mountPoints, do_start_deferred, prefixes=[])
Create a PorterClientFactory that will use childFactory to create protocol instances for clients attached to the FDs received over this connection.
source code
 
_fireDeferred(self, r) source code
 
gotDeferredLogin(self, deferred)
The deferred from login is now available.
source code

Inherited from PorterClientFactory: buildProtocol, deregisterDefault, deregisterPath, deregisterPrefix, registerDefault, registerPath, registerPrefix

Inherited from twisted.pb.ReconnectingPBClientFactory: clientConnectionFailed, clientConnectionLost, clientConnectionMade, startLogin

Inherited from twisted.spread.pb.PBClientFactory: disconnect, getPerspective, getRootObject, login

Inherited from twisted.spread.pb.PBClientFactory (private): _cbResponse, _cbSendUsername, _failAll, _reset

Inherited from twisted.internet.protocol.ClientFactory: startedConnecting

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

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

Inherited from twisted.internet.protocol.ReconnectingClientFactory: resetDelay, retry, stopTrying

Class Variables [hide private]

Inherited from twisted.spread.pb.PBClientFactory: unsafeTracebacks

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

Inherited from common.log.Loggable: logCategory

Inherited from twisted.internet.protocol.ReconnectingClientFactory: connector, continueTrying, delay, maxRetries, retries

Inherited from twisted.internet.protocol.ReconnectingClientFactory (private): _callID

Instance Variables [hide private]

Inherited from twisted.internet.protocol.ReconnectingClientFactory: factor, initialDelay, jitter, maxDelay

Method Details [hide private]

__init__(self, childFactory, mountPoints, do_start_deferred, prefixes=[])
(Constructor)

source code 

Create a PorterClientFactory that will use childFactory to create protocol instances for clients attached to the FDs received over this connection.

Parameters:
  • mountPoints - a list of mountPoint strings that should be registered to the porter
Overrides: twisted.spread.pb.PBClientFactory.__init__

gotDeferredLogin(self, deferred)

source code 

The deferred from login is now available.

Overrides: twisted.pb.ReconnectingPBClientFactory.gotDeferredLogin
(inherited documentation)