\r\n

51Degrees Pipeline Node.js  4.4

51Degrees Pipeline for Node.js

SequenceElement Class Reference

Detailed Description

The SequenceElement stores session data regarding requests for client side JavaScript from the JavaScript created by a Pipeline's JavaScriptBuilder If a Pipeline is constructed with the JavaScript elements enabled this is added automatically along with the JavaScriptBuilder and JSONBundler.

Inheritance diagram for SequenceElement:

[legend]

Collaboration diagram for SequenceElement:

[legend]

Public Member Functions

 constructor ()
 processInternal (flowData)
Internal process function for the sequence element Checks if there is a session id and sequence number set if there is it increments the sequence number for that session if not it initialises both. More...

Public Member Functions inherited from FlowElement

 constructor ({ processInternal, dataKey, properties={}, evidenceKeyFilter }={})
Constructor for flowElement class. More...
 onRegistration (pipeline, flowElement)
Internal function to be called when a FlowElement is added to pipeline, runs through any registrationCallbacks on the FlowElement. More...
 ready ()
Function called to check if a FlowElement is ready Used when there are asynchronous initialisation steps. More...
 processInternal (flowData)
Internal process function for a particular flowElement called (via the flowElement.process() method) when flowData generated by a pipleline is processsed. More...
 process (flowData)
To allow actions to take place before and after a FlowElement's processInternal function runs, a process wrapper is run first. More...
 updateProperties ()
Call this function to update the properties meta database in all the pipelines this flowElement has been added to. More...
 getProperties ()
Get a flowElement's properties. More...
 _log (type, message)

Member Function Documentation

◆ processInternal()

SequenceElement::processInternal (   flowData )
inline

Internal process function for the sequence element Checks if there is a session id and sequence number set if there is it increments the sequence number for that session if not it initialises both.

Parameters
{FlowData} - flowData flowData with the evidence in it