public class APIBasedGeoCoordinateResolver extends Object implements GeoCoordinateResolver
Constructor and Description |
---|
APIBasedGeoCoordinateResolver() |
Modifier and Type | Method and Description |
---|---|
GeoCoordinate |
getGeoCoordinateInfo(String ip)
This method will provide the geo location information related to the given ip.
|
void |
init(io.siddhi.core.util.config.ConfigReader configReader)
This method will be invoked after the initializing the extension.
|
public void init(io.siddhi.core.util.config.ConfigReader configReader) throws GeoLocationResolverException
GeoCoordinateResolver
init
in interface GeoCoordinateResolver
configReader
- this hold the extensions configuration readerGeoLocationResolverException
- this will throws a GeoLocationResolverException.public GeoCoordinate getGeoCoordinateInfo(String ip)
GeoCoordinateResolver
getGeoCoordinateInfo
in interface GeoCoordinateResolver
ip
- ip addressCopyright © 2019 WSO2. All rights reserved.