Package org.opennms.netmgt.icmp.proxy
Class PingResponseDTO
- java.lang.Object
-
- org.opennms.netmgt.icmp.proxy.PingResponseDTO
-
- All Implemented Interfaces:
RpcResponse
public class PingResponseDTO extends Object implements RpcResponse
-
-
Constructor Summary
Constructors Constructor Description PingResponseDTO()
PingResponseDTO(Throwable ex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getErrorMessage()
Returns an error message if an error occurred, ornull
otherwise.double
getRtt()
int
hashCode()
void
setRtt(double rtt)
-
-
-
Constructor Detail
-
PingResponseDTO
public PingResponseDTO()
-
PingResponseDTO
public PingResponseDTO(Throwable ex)
-
-
Method Detail
-
getRtt
public double getRtt()
-
setRtt
public void setRtt(double rtt)
-
getErrorMessage
public String getErrorMessage()
Description copied from interface:RpcResponse
Returns an error message if an error occurred, ornull
otherwise.- Specified by:
getErrorMessage
in interfaceRpcResponse
- Returns:
- an error message if an error occurred, or
null
otherwise
-
-