Class PingResponse

java.lang.Object
com.tccc.kos.core.service.network.beans.PingResponse

public class PingResponse extends Object
Response for a ping operation. Contains the results of the pings that were performed.
Version:
2024-05-24
  • Constructor Details

    • PingResponse

      public PingResponse()
  • Method Details

    • getRequests

      public int getRequests()
      Return the number of ping requests attempted.
    • getTimeouts

      public int getTimeouts()
      Return the number of requests that timed out.
    • getMaxReplyUs

      public int getMaxReplyUs()
      Return the max reply time in micro seconds.
    • getMinReplyUs

      public int getMinReplyUs()
      Return the min reply time in micro seconds.
    • getAvgReplyUs

      public int getAvgReplyUs()
      Return the average reply time in micro seconds.
    • isFailed

      public boolean isFailed()
      When true, the response was never received so there are no results available.
    • setRequests

      public void setRequests(int requests)
    • setTimeouts

      public void setTimeouts(int timeouts)
    • setMaxReplyUs

      public void setMaxReplyUs(int maxReplyUs)
    • setMinReplyUs

      public void setMinReplyUs(int minReplyUs)
    • setAvgReplyUs

      public void setAvgReplyUs(int avgReplyUs)
    • setFailed

      public void setFailed(boolean failed)