51Degrees IP Intelligence for Node.js

IpIntelligenceMissingPropertyService Class Reference

Detailed Description

Instance of the MissingPropertyService class that checks if a property is available in the current dataFile.

Inheritance diagram for IpIntelligenceMissingPropertyService:

[legend]

Collaboration diagram for IpIntelligenceMissingPropertyService:

[legend]

Public Member Functions

 check (key, flowElement)
 Constructor for Missing Property Service that receives a requested property key that is missing in the data.

Public Member Functions inherited from MissingPropertyService

 check (key, flowElement)
 _isCloudEngine (flowElement)

Member Function Documentation

◆ check()

IpIntelligenceMissingPropertyService::check ( key,
flowElement )
inline

Constructor for Missing Property Service that receives a requested property key that is missing in the data.

If it is missing because the data does not exist in the data file that was chosen, it returns an error which states which data file the property can be found in.

Parameters
{string}key missing property key
{FlowElement}flowElement the FlowElement the key was missing from
Returns
{never} throws an error