Class ProbeTimeoutMessage

  • All Implemented Interfaces:
    org.somda.sdc.common.event.EventMessage

    
    public class ProbeTimeoutMessage
     implements EventMessage
                        

    Message that signalizes the end of a probe phase.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Integer getProbeMatchesCount() Gets the number of matched items.
      String getProbeRequestId() Gets the identifier that relates a probe request and response to each other.
      • Methods inherited from class java.lang.Object

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

      • ProbeTimeoutMessage

        ProbeTimeoutMessage(Integer probeMatchesCount, String probeRequestId)
        Constructor.
        Parameters:
        probeMatchesCount - the amount of matches found for a probe request.
        probeRequestId - the probe request identifier.
    • Method Detail

      • getProbeMatchesCount

         Integer getProbeMatchesCount()

        Gets the number of matched items.

        Note that the maximum amount of matched items can be limited.

        Returns:

        the number of matches.

      • getProbeRequestId

         String getProbeRequestId()

        Gets the identifier that relates a probe request and response to each other.

        Returns:

        the probe request identifier.