Class DeviceProbeTimeoutMessage

java.lang.Object
org.somda.sdc.dpws.client.event.DeviceProbeTimeoutMessage
All Implemented Interfaces:
EventMessage

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

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

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