Interface IGeoLocationManagerSPI

    • Field Detail

      • LOGGER

        static final ILogger LOGGER
        Logger.
        Since:
        10.2.0
    • Method Detail

      • init

        default void init()
        Initializes the GeoLocation Manager.
        Since:
        10.2.0
      • enable

        default void enable()
        Enable geo location service.
        Since:
        10.2.0
      • disable

        default void disable()
        Disable geo location service.
        Since:
        10.2.0
      • getGeoPointByServiceInterfaceRequest

        default ExtendedGeoPoint getGeoPointByServiceInterfaceRequest​(IServiceInterfaceRequestSPI interfaceRequestSPI)
                                                               throws java.net.UnknownHostException
        Returns the extended geo point based on the given request or null if Geolocation service is disabled or the address couldn't be found. Gets the location of remote address.
        Parameters:
        interfaceRequestSPI - the request.
        Returns:
        the extended geo point based on the given request or null if Geolocation service is disabled or the address couldn't be found.
        Throws:
        java.net.UnknownHostException
        Since:
        10.2.0