Interface DiscoveryAccess

  • All Implemented Interfaces:

    
    public interface DiscoveryAccess
    
                        

    Interface to set discovery metadata provided by a Device.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void setTypes(Collection<QName> types) Sets the types in accordance with WS-Discovery.
      abstract void setScopes(Collection<String> scopes) Sets the scopes in accordance with WS-Discovery.
      abstract void sendHello() Sends a Hello message to the network.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • setTypes

         abstract void setTypes(Collection<QName> types)

        Sets the types in accordance with WS-Discovery.

        Parameters:
        types - the types to set.
      • setScopes

         abstract void setScopes(Collection<String> scopes)

        Sets the scopes in accordance with WS-Discovery.

        Parameters:
        scopes - the scopes to set.
      • sendHello

         abstract void sendHello()

        Sends a Hello message to the network.

        The Hello message will be sent only if setScopes or setTypes has been called prior to this function. This needs to be repeated for every Hello to be sent.