Provides callback implementations for Recordhandler events.

Implements Node.js-specific state maintenance/cleanup and forwards received record events to a registered Diverter which is supposed to handle generic/non-port-specific processing.

Implements Recordhandler.

Constructor

new Chainmanager(chain, locator, diverter, tokenizer, markdown)

Parameters

Name Type Description
chain Chain
locator Locator
diverter Diverter
tokenizer Tokenizer
markdown Markdown

Name Description
end_records Called after last line.
record Called for every line.
reset Resets internal state.

Member Details

end_records()

Called after last line.

record()

Called for every line.

reset()

Resets internal state.