public class DefaultDBBasedGeoLocationResolver extends Object implements GeoLocationResolver
Constructor and Description |
---|
DefaultDBBasedGeoLocationResolver() |
Modifier and Type | Method and Description |
---|---|
Location |
getGeoLocationInfo(String ip)
This method will provide the geo location information related to the given ip.
|
void |
init(org.wso2.siddhi.core.util.config.ConfigReader configReader)
This method will be invoked after the initializing the extension.
|
public void init(org.wso2.siddhi.core.util.config.ConfigReader configReader) throws GeoLocationResolverException
GeoLocationResolver
init
in interface GeoLocationResolver
GeoLocationResolverException
public Location getGeoLocationInfo(String ip)
GeoLocationResolver
getGeoLocationInfo
in interface GeoLocationResolver
ip
- ip addressCopyright © 2019 WSO2. All rights reserved.