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

Class ScanFactory

  Factory --+    
            |    
ClientFactory --+
                |
               ScanFactory


Method Summary
  __init__(self)
  clientConnectionFailed(self, connector, reason)
Called when a connection has failed to connect.
  clientConnectionLost(self, connector, reason)
Called when an established connection is lost.
Inherited from ClientFactory: startedConnecting
Inherited from Factory: buildProtocol, doStart, doStop, startFactory, stopFactory

Class Variable Summary
classobj protocol = ZenUtils.PortScan.ScanProtocol
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.ClientFactory.clientConnectionFailed (inherited documentation)

clientConnectionLost(self, connector, reason)

Called when an established connection is lost.

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

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