Package DataCollector :: Module PortscanClient :: Class PortscanClient
[show private | hide private]
[frames | no frames]

Type PortscanClient

object --+
         |
        PortscanClient


Method Summary
  __init__(self, hostname, ipaddr, options, device, datacollector, plugins)
  clientFinished(self, pluginName)
Tell the datacollector that we are all done.
  getResults(self)
ZenUtils.PortScan records open ports in a list that are the values for a key in a dict where the key is the IP address scanned.
  run(self)
Start portscan collection.
  _cbScanComplete(self, results, pluginName)
  _ebScanError(self, err, pluginName)
Handle an error generated by one of our requests.
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Method Details

clientFinished(self, pluginName)

Tell the datacollector that we are all done.

getResults(self)

ZenUtils.PortScan records open ports in a list that are the
values for a key in a dict where the key is the IP address
scanned.

For example, if we scan host 10.0.4.55 and ports 22 and 80 are
open, getSuccesses() will return the following:

    {'10.0.4.55': [22, 80]}

run(self)

Start portscan collection.

_ebScanError(self, err, pluginName)

Handle an error generated by one of our requests.

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