PHP Class Nmap\Port

Author: William Durand ([email protected])
Mostra file Open project: willdurand/nmap

Public Methods

Method Description
__construct ( $number, $protocol, $state, Service $service )
getNumber ( ) : integer
getProtocol ( ) : string
getService ( ) : Service
getState ( ) : string
isClosed ( ) : boolean
isOpen ( ) : boolean

Method Details

__construct() public method

public __construct ( $number, $protocol, $state, Service $service )
$service Service

getNumber() public method

public getNumber ( ) : integer
return integer

getProtocol() public method

public getProtocol ( ) : string
return string

getService() public method

public getService ( ) : Service
return Service

getState() public method

public getState ( ) : string
return string

isClosed() public method

public isClosed ( ) : boolean
return boolean

isOpen() public method

public isOpen ( ) : boolean
return boolean