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
GeoCoordinateResolverinit in interface GeoCoordinateResolverconfigReader - this hold the extensions configuration readerGeoLocationResolverException - this will throws a GeoLocationResolverException.public GeoCoordinate getGeoCoordinateInfo(String ip)
GeoCoordinateResolvergetGeoCoordinateInfo in interface GeoCoordinateResolverip - ip addressCopyright © 2019 WSO2. All rights reserved.