Interface ProxyQueryEvent

  • All Superinterfaces:
    Event
    All Known Implementing Classes:
    ProxyQueryEventImpl

    public interface ProxyQueryEvent
    extends Event
    This event is fired if proxy is getting queried over GS4 Query protocol.
    • Method Detail

      • queryingAddress

        InetAddress queryingAddress()
        Get the address of the client that sent this query.
        Returns:
        querier address
      • response

        QueryResponse response()
        Returns the current query response.
        Returns:
        the current query response
      • setResponse

        void setResponse​(QueryResponse response)
        Sets a new query response.
        Parameters:
        response - the new non-null query response