Class DeviceProbeTimeoutMessage

  • All Implemented Interfaces:
    EventMessage

    public class DeviceProbeTimeoutMessage
    extends Object
    implements EventMessage
    Indicates a probe end of a previously started discovery process.
    • Constructor Detail

      • DeviceProbeTimeoutMessage

        public DeviceProbeTimeoutMessage​(Integer foundDevicesCount,
                                         String discoveryId)
        Constructor.
        Parameters:
        foundDevicesCount - the amount of devices that were found during a probe.
        discoveryId - the discovery id this message belongs to.
    • Method Detail

      • getDiscoveryId

        public String getDiscoveryId()
        Gets the discovery identifier of the discovery process that has ended.
        Returns:
        the discovery id of the probe request this message belongs to.
      • getFoundDevicesCount

        public Integer getFoundDevicesCount()
        Gets the amount of devices that were found for the discovery phase that matches getDiscoveryId().
        Returns:
        the number of found devices.