51Degrees IP Intelligence for Node.js

IpIntelligenceCloud Class Reference

Detailed Description

The IP intelligence cloud engine requires the 51Degrees cloudRequestEngine to be placed in a pipeline before it.

It takes that raw JSON response and parses it to extract the IP intelligence part. It also uses this data to generate a list of properties. Properties that have weighted values are returned as arrays of objects with 'value' and 'weight' entries.

Inheritance diagram for IpIntelligenceCloud:

[legend]

Collaboration diagram for IpIntelligenceCloud:

[legend]

Public Member Functions

 constructor ()
 Constructor for IpIntelligenceCloud.

Public Member Functions inherited from CloudEngine

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

Public Member Functions inherited from Engine

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

Public Member Functions inherited from FlowElement

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