| NetworkInfo-Discovery documentation | view source | Contained in the NetworkInfo-Discovery distribution. |
NetworkInfo::Discovery::Detect - Super Class for all detection modules
See NetworkInfo::Discovery::(Sniff|Traceroute|Scan)
for examples.
NetworkInfo::Discovery::Detect is set up to be the super class of all the detection modules. It sets up the methods for setting and getting the discovered information about interfaces, gateways, and subnets.
just set up lists for holding interfaces, subnets, and gateways
this needs to be implemented in the subclass. it should do what ever it does to detect interfaces, gateways, or subnets adding them to our lists by using the add_* methods below.
returns a list of hash references for interfaces, gateways, or subnets.
adds the hash ref to the list of interfaces, gateways, or subnets.
Tom Scanlan <tscanlan@they.gotdns.org>
Please send any bugs to Tom Scanlan <tscanlan@they.gotdns.org>
| NetworkInfo-Discovery documentation | view source | Contained in the NetworkInfo-Discovery distribution. |