Interface WsDiscoveryClient

  • All Implemented Interfaces:
    org.somda.sdc.dpws.soap.interception.Interceptor

    
    public interface WsDiscoveryClient
     implements Interceptor
                        

    WS-Discovery Client interface.

    • Constructor Detail

    • Method Detail

      • sendDirectedProbe

         abstract ListenableFuture<ProbeMatchesType> sendDirectedProbe(RequestResponseClient rrClient, List<QName> types, List<String> scopes, @Nullable() MatchBy matchBy)

        Sends a directed probe to a device.

        Parameters:
        rrClient - to send request on
        types - to probe for
        scopes - to probe for
        matchBy - the scopes matching rule, or null to use the default http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01/rfc3986.
        Returns:

        future providing probe matches response

      • sendProbe

         abstract ListenableFuture<Integer> sendProbe(String probeId, Collection<QName> types, Collection<String> scopes, @Nullable() MatchBy matchBy)

        Sends a probe message using the given parameters.

        ProbeMatches messages are handled by the observers.

        Parameters:
        probeId - of the probe
        types - to probe for
        scopes - to probe for
        matchBy - the scopes matching rule, or null to use the default http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01/rfc3986.
        Returns:

        Future containing the number of matches within the given timeout.

      • sendProbe

         abstract ListenableFuture<Integer> sendProbe(String probeId, Collection<QName> types, Collection<String> scopes, @Nullable() MatchBy matchBy, Integer maxResults)

        Sends a probe message using the given parameters with a limited number of results until future finishes.

        ProbeMatches messages are handled by the observers.

        Parameters:
        probeId - of the probe
        types - to probe for
        scopes - to probe for
        matchBy - the scopes matching rule, or null to use the default http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01/rfc3986.
        maxResults - number of results to wait for at most
        Returns:

        Future containing the number of matches within the given timeout.

      • sendResolve

         abstract ListenableFuture<ResolveMatchesType> sendResolve(EndpointReferenceType epr)

        Sends a resolve message for a given endpoint reference.

        Parameters:
        epr - to resolve for
        Returns:

        future providing resolve matches response