Package org.somda.sdc.dpws.client.event
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 Summary
Constructors Constructor Description DeviceProbeTimeoutMessage(Integer foundDevicesCount, String discoveryId)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDiscoveryId()Gets the discovery identifier of the discovery process that has ended.IntegergetFoundDevicesCount()Gets the amount of devices that were found for the discovery phase that matchesgetDiscoveryId().
-
-
-
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 matchesgetDiscoveryId().- Returns:
- the number of found devices.
-
-