Halberd.crew.WorkCrew

Package Halberd :: Module crew :: Class WorkCrew |
[hide private]
[frames] | no frames]

# Class WorkCrew

source code

Pool of scanners working in parallel.

Instance Methods | [hide private]
__init__(self, scantask) | source code
_setupSigHandler(self) Performs what's needed to catch SIGINT. | source code
_restoreSigHandler(self) Restore previous SIGINT handler. | source code
_initLocal(self) Initializes conventional (local) scanner threads. | source code
scan(self) Perform a parallel load-balancer scan. | source code
_getClues(self) Returns a sequence of clues obtained during the scan. | source code

Instance Variables | [hide private]
| prev Previous SIGINT handler.
ScanTask | task A reference to scantask.
`bool` | working Indicates whether the crew is working or idle.