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

Type Scanner

object --+
         |
        Scanner


Method Summary
  __init__(self, hosts, portRange, portList, queueCount, timeout)
  doFactory(self, host, port)
  finishRun(self, result)
  getFailures(self)
  getSuccesses(self)
  prepare(self)
The use of DeferredSemaphore() here allows us to control the number of deferreds (and therefore connections) created at once, thus providing a way for systems to use the script efficiently.
  printResults(self)
  recordConnection(self, result, host, port)
  recordFailure(self, failure, host, port)
  run(self)
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Method Details

prepare(self)

The use of DeferredSemaphore() here allows us to control the number of deferreds (and therefore connections) created at once, thus providing a way for systems to use the script efficiently.

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