Class PollerResponseDTO
- java.lang.Object
-
- org.opennms.netmgt.poller.client.rpc.PollerResponseDTO
-
- All Implemented Interfaces:
RpcResponse,PollerResponse
public class PollerResponseDTO extends Object implements RpcResponse, PollerResponse
-
-
Constructor Summary
Constructors Constructor Description PollerResponseDTO()PollerResponseDTO(Throwable ex)PollerResponseDTO(PollStatus pollStatus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetErrorMessage()Returns an error message if an error occurred, ornullotherwise.PollStatusgetPollStatus()inthashCode()voidsetPollStatus(PollStatus pollStatus)
-
-
-
Constructor Detail
-
PollerResponseDTO
public PollerResponseDTO()
-
PollerResponseDTO
public PollerResponseDTO(Throwable ex)
-
PollerResponseDTO
public PollerResponseDTO(PollStatus pollStatus)
-
-
Method Detail
-
getPollStatus
public PollStatus getPollStatus()
- Specified by:
getPollStatusin interfacePollerResponse
-
setPollStatus
public void setPollStatus(PollStatus pollStatus)
-
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
-
-