Constructor
new Host(options, hostStruct)
Parameters:
Name | Type | Description |
---|---|---|
options |
Object | Error, warning and debug function references |
hostStruct |
Object | Host node to process |
- Source:
Members
(readonly) address :Object
Provides default `address` property to ensure node processing, will return
default or child data
Type:
- Object
- Source:
address
Creates Address child for further processing of the address node
- Source:
(readonly) attrib :Object
Provides default `attrib` property to ensure node processing, always returns
current meta values
Type:
- Object
- Source:
attrib
Continues node walking recursion through the current attrib node
- Source:
(readonly) data :Object
Returns all processed data, including child data, of the this host
Type:
- Object
- Source:
(readonly) distance :Object
Provides default `distance` property to ensure node processing, will return
default or child data
Type:
- Object
- Source:
distance
Creates Distance child for further processing of the distance node
- Source:
endtime :Number
End time meta
Type:
- Number
- Source:
hostAddress :Object
Address object default
Type:
- Object
- Source:
hostDistance :Object
Distance object default
Type:
- Object
- Source:
hostHostnames :Object
Hostnames object default
Type:
- Object
- Source:
hostHostScript :Object
HostScript object default
Type:
- Object
- Source:
hostIpidsequence :Object
Ipidsequence object default
Type:
- Object
- Source:
(readonly) hostnames :Object
Provides default `hostnames` property to ensure node processing, will return
default or child data
Type:
- Object
- Source:
hostnames
Creates Hostnames child for further processing of the hostnames node
- Source:
hostOs :Object
Os object default
Type:
- Object
- Source:
hostPorts :Object
Ports object default
Type:
- Object
- Source:
(readonly) hostscript :Object
Provides default `hostscript` property to ensure node processing, will return
default or child data
Type:
- Object
- Source:
hostscript
Creates HostScript child for further processing of the hostScript node
- Source:
hostStatus :Object
Status object default
Type:
- Object
- Source:
hostTcpsequence :Object
Tcpsequence object default
Type:
- Object
- Source:
hostTcptssequence :Object
Tcptssequence object default
Type:
- Object
- Source:
hostTimes :Object
Times object default
Type:
- Object
- Source:
hostTrace :Object
Trace object default
Type:
- Object
- Source:
hostUptime :Object
Uptime object default
Type:
- Object
- Source:
(readonly) ipidsequence :Object
Provides default `ipidsequence` property to ensure node processing, will return
default or child data
Type:
- Object
- Source:
ipidsequence
Creates Ipidsequence child for further processing of the ipidsequence node
- Source:
(readonly) meta :Object
Returns start and end time meta
Type:
- Object
- Source:
options :Object
Merge default options with given options
Type:
- Object
- Source:
(readonly) os :Object
Provides default `os` property to ensure node processing, will return
default or child data
Type:
- Object
- Source:
os
Creates Os child for further processing of the os node
- Source:
(readonly) ports :Object
Provides default `ports` property to ensure node processing, will return
default or child data
Type:
- Object
- Source:
ports
Creates Ports child for further processing of the ports node
- Source:
starttime :Number
Start time meta
Type:
- Number
- Source:
(readonly) status :Object
Provides default `status` property to ensure node processing, will return
default or child data
Type:
- Object
- Source:
status
Creates Status child for further processing of the status node
- Source:
(readonly) tcpsequence :Object
Provides default `tcpsequence` property to ensure node processing, will return
default or child data
Type:
- Object
- Source:
tcpsequence
Creates Tcpsequence child for further processing of the tcpsequence node
- Source:
(readonly) tcptssequence :Object
Provides default `tcptssequence` property to ensure node processing, will return
default or child data
Type:
- Object
- Source:
tcptssequence
Creates Tcptssequence child for further processing of the tcptssequence node
- Source:
(readonly) times :Object
Provides default `times` property to ensure node processing, will return
default or child data
Type:
- Object
- Source:
times
Creates Times child for further processing of the times node
- Source:
(readonly) trace :Object
Provides default `trace` property to ensure node processing, will return
default or child data
Type:
- Object
- Source:
trace
Creates Trace child for further processing of the trace node
- Source:
(readonly) uptime :Object
Provides default `uptime` property to ensure node processing, will return
default or child data
Type:
- Object
- Source:
uptime
Creates Uptime child for further processing of the uptime node
- Source:
Methods
parseStruct(curStruct)
Recursive parsing function, sets the value of this classes properties (if
it exists), or calls the proper processing function, or builds required
child classes for further processing
Parameters:
Name | Type | Description |
---|---|---|
curStruct |
Object | Current node being processed |
- Source: