public interface IGeoLocationManagerSPI extends IGeoLocationManager
Modifier and Type | Method and Description |
---|---|
default void |
deleteDatabase()
Delete the currently saved geolocation database;
|
default void |
disable()
Disable geo location service.
|
default void |
enable()
Enable geo location service.
|
default ExtendedGeoPoint |
getGeoPointByServiceInterfaceRequest(IServiceInterfaceRequestSPI interfaceRequestSPI)
Returns the extended geo point based on the given request or
null if Geolocation service is disabled or the address couldn't be found. |
default void |
init()
Initializes the GeoLocation Manager.
|
getGeoPointByAddress, getGeoPointByIpOrHostName, getGeoPointByRequest
static final ILogger LOGGER
default void init()
default void enable()
default void disable()
default ExtendedGeoPoint getGeoPointByServiceInterfaceRequest(IServiceInterfaceRequestSPI interfaceRequestSPI) throws UnknownHostException
null
if Geolocation service is disabled or the address couldn't be found.
Gets the location of remote address
.interfaceRequestSPI
- the request.null
if Geolocation service is disabled or the address couldn't be found.UnknownHostException
default void deleteDatabase() throws FileCouldNotBeDeletedException, IOException
FileCouldNotBeDeletedException
- if this file could not be deletedIOException
- if other error occurLumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.