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 booleanequals(Object o)StringgetErrorMessage()Returns an error message if an error occurred, ornullotherwise.doublegetRtt()inthashCode()voidsetRtt(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:RpcResponseReturns an error message if an error occurred, ornullotherwise.- Specified by:
 getErrorMessagein interfaceRpcResponse- Returns:
 - an error message if an error occurred, or 
nullotherwise 
 
 - 
 
 -