Interface WsDiscoveryTargetService

    • Method Detail

      • setTypes

        void setTypes​(List<QName> qNames)
        Thread-safe function to set the list of QNames.
        Parameters:
        qNames - the list of QNames to set.
      • getTypes

        List<QName> getTypes()
        Thread-safe function to get the list of QNames.
        Returns:
        the list of QNames.
      • setScopes

        void setScopes​(List<String> uris)
        Thread-safe function to set the list of scope URIs.
        Parameters:
        uris - the list of scope URIs to set.
      • getScopes

        List<String> getScopes()
        Thread-safe function to get the list of scope URIs.
        Returns:
        the list of scope URIs.
      • setXAddrs

        void setXAddrs​(List<String> xAddrs)
        Thread-safe function to set the list of XAddr URIs.
        Parameters:
        xAddrs - the list of XAddr URIs.
      • getXAddrs

        List<String> getXAddrs()
        Thread-safe function to get the list of XAddr URIs.
        Returns:
        the list of XAddr URIs.
      • setMatchBy

        void setMatchBy​(MatchBy matchBy)
        Thread-safe function to set the MatchBy rule.
        Parameters:
        matchBy - the MatchBy rule to set.
      • getMatchBy

        MatchBy getMatchBy()
        Thread-safe function to get the MatchBy rule.
        Returns:
        the MatchBy rule.
      • setMetadataModified

        void setMetadataModified()
        Thread-safe function to explicitly set the target service metadata to be modified (thread-safe).

        This is useful if the metadata change does not belong to, e.g., Types and Scopes.

      • getMetadataVersion

        com.google.common.primitives.UnsignedInteger getMetadataVersion()
        Thread-safe function to get the metadata version.
        Returns:
        the metadata version.
      • sendHello

        com.google.common.primitives.UnsignedInteger sendHello​(boolean forceNewMetadataVersion)
                                                        throws MarshallingException,
                                                               TransportException,
                                                               InterceptorException
        Blocking function to send out a Hello message.
        Parameters:
        forceNewMetadataVersion - set to true to force incrementing the metadata version, or false to not do so.
        Returns:
        the metadata version that has been attached to the Hello message.
        Throws:
        MarshallingException - if marshalling the Hello message fails.
        TransportException - if there is any problem on the transport layer.
        InterceptorException - if one of the interceptors pops up with an error.