Class SnmpMultiResponseDTO
- java.lang.Object
-
- org.opennms.netmgt.snmp.proxy.common.SnmpMultiResponseDTO
-
- All Implemented Interfaces:
RpcResponse
public class SnmpMultiResponseDTO extends Object implements RpcResponse
-
-
Constructor Summary
Constructors Constructor Description SnmpMultiResponseDTO()
SnmpMultiResponseDTO(Throwable ex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getErrorMessage()
Returns an error message if an error occurred, ornull
otherwise.List<SnmpResponseDTO>
getResponses()
int
hashCode()
void
setResponses(List<SnmpResponseDTO> responses)
-
-
-
Constructor Detail
-
SnmpMultiResponseDTO
public SnmpMultiResponseDTO()
-
SnmpMultiResponseDTO
public SnmpMultiResponseDTO(Throwable ex)
-
-
Method Detail
-
setResponses
public void setResponses(List<SnmpResponseDTO> responses)
-
getResponses
public List<SnmpResponseDTO> getResponses()
-
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
-
-