51Degrees Device Detection for Node.js

HardwareProfileCloudEngine Class Reference

Detailed Description

This Cloud Aspect Engine enables the parsing of 'hardware profile' responses from the 51Degrees cloud service.

Examples
cloud/nativemodellookup-console/nativeModelLookup.js.

Inheritance diagram for HardwareProfileCloudEngine:

[legend]

Collaboration diagram for HardwareProfileCloudEngine:

[legend]

Public Member Functions

 constructor ()
 Constructor for HardwareProfileCloudEngine.
 processInternal (flowData)
 Process internal FlowData cloud data for devices, set them as FlowData elements.

Public Member Functions inherited from CloudEngine

 handlePipelineRegistration (pipeline, flowElement)
 updateEngineWhenCloudRequestEngineReady (resolve, reject)
 ready ()
 processInternal (flowData)

Public Member Functions inherited from Engine

 constructor ({ cache, restrictedProperties, dataFile }={})
 inCache (flowData)
 process (flowData)
 refresh ()
 registerDataFile (dataFile)

Public Member Functions inherited from FlowElement

 constructor ({ processInternal, dataKey, properties={}, evidenceKeyFilter }={})
 onRegistration (pipeline, flowElement)
 ready ()
 processInternal (flowData)
 process (flowData)
 updateProperties ()
 getProperties ()
 _log (type, message)

Member Function Documentation

◆ processInternal()

HardwareProfileCloudEngine::processInternal ( flowData)
inline

Process internal FlowData cloud data for devices, set them as FlowData elements.

Parameters
{FlowData}flowData The FlowData object