Class DiscoveredDevice


  • public class DiscoveredDevice
    extends Object
    Device information that is resolved through WS-Discovery.

    Note that all information provided by instances of DiscoveredDevice are potentially unsecure! Potentially unsecure because there are cases in which a consumer may connect to a discovery proxy that uses secured transmission to exchange discovery information.

    See Also:
    WS-Discovery
    • Method Detail

      • getEprAddress

        public String getEprAddress()
        Returns the EPR address of the discovered device.

        Note that all information provided by instances of DiscoveredDevice are potentially unsecure! Potentially unsecure because there are cases in which a consumer may connect to a discovery proxy that uses secured transmission to exchange discovery information.

        Returns:
        the EPR address of the discovered device.
      • getTypes

        public List<QName> getTypes()
        Returns the types implemented by the discovered device.

        Note that all information provided by instances of DiscoveredDevice are potentially unsecure! Potentially unsecure because there are cases in which a consumer may connect to a discovery proxy that uses secured transmission to exchange discovery information.

        Returns:
        the types of the discovered device.
      • getScopes

        public List<String> getScopes()
        Returns the scopes set on the discovered device.

        Note that all information provided by instances of DiscoveredDevice are potentially unsecure! Potentially unsecure because there are cases in which a consumer may connect to a discovery proxy that uses secured transmission to exchange discovery information.

        Returns:
        the scopes of the discovered device.
      • getXAddrs

        public List<String> getXAddrs()
        Returns the physical addresses at which the device can be accessed.

        Note that all information provided by instances of DiscoveredDevice are potentially unsecure! Potentially unsecure because there are cases in which a consumer may connect to a discovery proxy that uses secured transmission to exchange discovery information.

        Returns:
        the physical addresses of the discovered device.
      • getMetadataVersion

        public long getMetadataVersion()
        Returns the metadata version as specified by WS-Discovery.

        Note that all information provided by instances of DiscoveredDevice are potentially unsecure! Potentially unsecure because there are cases in which a consumer may connect to a discovery proxy that uses secured transmission to exchange discovery information.

        Returns:
        the version of the device's meta information.