Class PingResponseDTO

  • All Implemented Interfaces:
    RpcResponse

    public class PingResponseDTO
    extends java.lang.Object
    implements RpcResponse
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getErrorMessage()
      Returns an error message if an error occurred, or null otherwise.
      double getRtt()  
      int hashCode()  
      void setRtt​(double rtt)  
      • Methods inherited from class java.lang.Object

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

      • PingResponseDTO

        public PingResponseDTO()
      • PingResponseDTO

        public PingResponseDTO​(java.lang.Throwable ex)
    • Method Detail

      • getRtt

        public double getRtt()
      • setRtt

        public void setRtt​(double rtt)
      • getErrorMessage

        public java.lang.String getErrorMessage()
        Description copied from interface: RpcResponse
        Returns an error message if an error occurred, or null otherwise.
        Specified by:
        getErrorMessage in interface RpcResponse
        Returns:
        an error message if an error occurred, or null otherwise
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object