Package ZenUtils :: Module PortScan :: Class ReconnectingScanFactory
[show private | hide private]
[frames | no frames]

Class ReconnectingScanFactory

          Factory --+        
                    |        
        ClientFactory --+    
                        |    
ReconnectingClientFactory --+
                            |
                           ReconnectingScanFactory


Method Summary
  __init__(self)
  clientConnectionFailed(self, connector, reason)
Called when a connection has failed to connect.
Inherited from ReconnectingClientFactory: clientConnectionLost, resetDelay, retry, stopTrying
Inherited from ClientFactory: startedConnecting
Inherited from Factory: buildProtocol, doStart, doStop, startFactory, stopFactory

Instance Variable Summary
Inherited from ReconnectingClientFactory: factor, initialDelay, jitter, maxDelay

Class Variable Summary
classobj protocol = ZenUtils.PortScan.ScanProtocol
Inherited from ReconnectingClientFactory: connector, continueTrying, delay, maxRetries, retries
Inherited from Factory: __implemented__, __providedBy__, __provides__, noisy, numPorts

Method Details

clientConnectionFailed(self, connector, reason)

Called when a connection has failed to connect.

It may be useful to call connector.connect() - this will reconnect.
Parameters:
reason
           (type=twisted.python.failure.Failure)
Overrides:
twisted.internet.protocol.ReconnectingClientFactory.clientConnectionFailed (inherited documentation)

Generated by Epydoc 2.1 on Thu Aug 16 09:55:14 2007 http://epydoc.sf.net