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

# Class Scanner

source code

    object --+
             |
            Scanner

Instance Methods | [hide private]
__init__(self, hosts, portRange=(1,10000), portList=[], queueCount=50, timeout=30) | source code
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. | source code
run(self) | source code
doFactory(self, host, port) | source code
recordConnection(self, unused, host, port) | source code
recordFailure(self, failure, host, port) | source code
finishRun(self, unused=None) | source code
printResults(self) | source code
getSuccesses(self) | source code
getFailures(self) | source code

Method Details | [hide private]

### __init__(self, hosts, portRange=(1,10000), portList=[], queueCount=50, timeout=30) (Constructor) | source code
Overrides: object.__init__ (inherited documentation)