Class Nmap::Parser::Host::ExtraPorts
In: lib/nmap/parser.rb
Parent: Object

This holds the information about "extra ports": groups of ports which have the same state.

Methods

<=>   new   reasons  

Attributes

count  [R]  Total number of ports in this state
state  [R]  What state the ports are in

Public Class methods

Public Instance methods

Compares the port counts

Returns an array of arrays, each of which are in the form of:

[ <port count>, reason ]

for each set of reasons, and passes them each to a block if one is given

[Validate]