Class WsDiscoveryTargetServiceInterceptor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      List<QName> getTypes() Thread-safe function to get the list of QNames.
      void setTypes(List<QName> qNames) Thread-safe function to set the list of QNames.
      List<String> getScopes() Thread-safe function to get the list of scope URIs.
      void setScopes(List<String> uris) Thread-safe function to set the list of scope URIs.
      List<String> getXAddrs() Thread-safe function to get the list of XAddr URIs.
      void setXAddrs(List<String> xAddrs) Thread-safe function to set the list of XAddr URIs.
      UnsignedInteger getMetadataVersion() Thread-safe function to get the metadata version.
      EndpointReferenceType getEndpointReference()
      void setMetadataModified() Thread-safe function to explicitly set the target service metadata to be modified (thread-safe).
      UnsignedInteger sendHello() Blocking function to send out a Hello message.
      UnsignedInteger sendHello(boolean forceNewMetadataVersion) Blocking function to send out a Hello message.
      void sendBye() Blocking function to send out a Bye message.
      UnsignedInteger incMetadataVersionAndGet() Increments the metadata version and retrieves the new value.
      UnsignedInteger incMetadataVersionIfModifiedAndGet() Increments the metadata version and retrieve the new value if the metadata has changed, returns previous version otherwise.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getTypes

         List<QName> getTypes()

        Thread-safe function to get the list of QNames.

        Returns:

        the list of QNames.

      • setTypes

         void setTypes(List<QName> qNames)

        Thread-safe function to set the list of QNames.

        Parameters:
        qNames - the list of QNames to set.
      • getScopes

         List<String> getScopes()

        Thread-safe function to get the list of scope URIs.

        Returns:

        the list of scope URIs.

      • 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.
      • getXAddrs

         List<String> getXAddrs()

        Thread-safe function to get the list of XAddr URIs.

        Returns:

        the list of XAddr URIs.

      • setXAddrs

         void setXAddrs(List<String> xAddrs)

        Thread-safe function to set the list of XAddr URIs.

        Parameters:
        xAddrs - the list of XAddr URIs.
      • getMetadataVersion

         UnsignedInteger getMetadataVersion()

        Thread-safe function to get the metadata version.

        Returns:

        the metadata version.

      • 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.

      • sendHello

         UnsignedInteger sendHello()

        Blocking function to send out a Hello message.

        This is a shorthand function to sendHello.

        Returns:

        the metadata version that has been attached to the Hello message.

      • sendHello

         UnsignedInteger sendHello(boolean forceNewMetadataVersion)

        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.

      • sendBye

         void sendBye()

        Blocking function to send out a Bye message.

      • incMetadataVersionAndGet

         UnsignedInteger incMetadataVersionAndGet()

        Increments the metadata version and retrieves the new value.

        Returns:

        new metadata version

      • incMetadataVersionIfModifiedAndGet

         UnsignedInteger incMetadataVersionIfModifiedAndGet()

        Increments the metadata version and retrieve the new value if the metadata has changed, returns previous version otherwise.

        Returns:

        metadata version