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

# Class ReconnectingScanFactory

source code

              twisted.internet.protocol.Factory --+
                                                  |
            twisted.internet.protocol.ClientFactory --+
                                                      |
    twisted.internet.protocol.ReconnectingClientFactory --+
                                                          |
                                                         ReconnectingScanFactory

Nested Classes | [hide private]
protocol

Instance Methods | [hide private]
__init__(self) | source code
clientConnectionFailed(self, connector, reason) Called when a connection has failed to connect. | source code
Inherited from `twisted.internet.protocol.ReconnectingClientFactory`: `__getstate__`, `clientConnectionLost`, `resetDelay`, `retry`, `stopTrying` Inherited from `twisted.internet.protocol.ClientFactory`: `startedConnecting` Inherited from `twisted.internet.protocol.Factory`: `buildProtocol`, `doStart`, `doStop`, `startFactory`, `stopFactory`

Class Variables | [hide private]
Inherited from `twisted.internet.protocol.ReconnectingClientFactory`: `connector`, `continueTrying`, `delay`, `retries` Inherited from `twisted.internet.protocol.ReconnectingClientFactory` (private): `_callID` Inherited from `twisted.internet.protocol.Factory`: `noisy`, `numPorts`

Instance Variables | [hide private]
Inherited from `twisted.internet.protocol.ReconnectingClientFactory`: `clock`, `factor`, `initialDelay`, `jitter`, `maxDelay`, `maxRetries`

Method Details | [hide private]

### clientConnectionFailed(self, connector, reason) | source code
Called when a connection has failed to connect. It may be useful to call connector.connect() - this will reconnect. Overrides: twisted.internet.protocol.ClientFactory.clientConnectionFailed (inherited documentation)