Class: EventWrapper

EventWrapper(options)

Core parser for nmap xml log files

Constructor

new EventWrapper(options)

Parameters:
Name Type Description
options Object Class options
Source:

Extends

  • EventEmitter

Methods

throwDebug(debugText)

Emits a debug message to any listeners, calls the `onDebug` function if set
Parameters:
Name Type Description
debugText String Debug message text value
Source:

throwError(errText) → {Boolean}

Emits an error to any listeners, calls the `onError` function if set
Parameters:
Name Type Description
errText String Error message text value
Source:
Returns:
Type
Boolean

throwWarning(warnText)

Emits a warning to any listeners, calls the `onWarning` function if set
Parameters:
Name Type Description
warnText String Warning message text value
Source: