Creates a new host scanner, which keeps track of all known hosts.
The Netscript object.
Mapping to IHost object containing information on the hosts.
All known hostnames.
The Netscript object.
List of purchased workers.
Checks whether hostname is a worker.
The hostname to check.
Whether the hostname is a worker or other host.
Update host information in _hostMap.
The hostname of the host to update.
The route to host. If not provided, existing route is used.
Host object for hostname, after it is updated.
Updates all hosts, both the _hostnames list and the _hostMap mapping.
All discovered hostnames.
Updates the list of purchased workers.
Current list of workers.
Get host object for hostname.
The hostname to update and lookup.
The host object for hostname.
Get all hostnames based on provided scanType.
The scan to perform.
All hostnames, according to the scanType.
Generated using TypeDoc
Discovers and documents all hosts that can be reached from "home".