Interface: Processor

olympe.dc. Processor

The Processor Interface.

A processor aims to process a query object object (e.g. a patch or a subscription). Several processors can be chained in a collection of sub-processors to transform the object several times asynchronously.

Methods


<abstract> process(source, object, next)

Processes a query.

Parameters:
Name Type Description
source string

the source from which the object come

object Object

The query.

next olympe.dc.Processor.NextProcessorCallback

Type Definitions


NextProcessorCallback(error, object)

Parameters:
Name Type Argument Description
error Error <nullable>
object Object

the processed object