Package org.opennms.netmgt.icmp.proxy
Class PingSweepResponseDTO
- java.lang.Object
-
- org.opennms.netmgt.icmp.proxy.PingSweepResponseDTO
-
- All Implemented Interfaces:
RpcResponse
public class PingSweepResponseDTO extends java.lang.Object implements RpcResponse
-
-
Constructor Summary
Constructors Constructor Description PingSweepResponseDTO()
PingSweepResponseDTO(java.lang.Throwable ex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPingSweepResult(PingSweepResultDTO pingSweepResult)
boolean
equals(java.lang.Object obj)
java.lang.String
getErrorMessage()
Returns an error message if an error occurred, ornull
otherwise.java.util.List<PingSweepResultDTO>
getPingSweepResult()
int
hashCode()
void
setPingSweepResult(java.util.List<PingSweepResultDTO> pingSweepResult)
-
-
-
Method Detail
-
getPingSweepResult
public java.util.List<PingSweepResultDTO> getPingSweepResult()
-
setPingSweepResult
public void setPingSweepResult(java.util.List<PingSweepResultDTO> pingSweepResult)
-
addPingSweepResult
public void addPingSweepResult(PingSweepResultDTO pingSweepResult)
-
getErrorMessage
public java.lang.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
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-