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

Class ScanFactory

source code

  twisted.internet.protocol.Factory --+    
                                      |    
twisted.internet.protocol.ClientFactory --+
                                          |
                                         ScanFactory

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
 
clientConnectionLost(self, connector, reason)
Called when an established connection is lost.
source code

Inherited from twisted.internet.protocol.ClientFactory: startedConnecting

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

Class Variables [hide private]

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

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)

clientConnectionLost(self, connector, reason)

source code 

Called when an established connection is lost.

It may be useful to call connector.connect() - this will reconnect.
Overrides: twisted.internet.protocol.ClientFactory.clientConnectionLost
(inherited documentation)