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