public class SnmpRequestDTO extends Object implements RpcRequest
TAG_CLASS_NAME, TAG_DESCRIPTION, TAG_IP_ADDRESS, TAG_NODE_ID, TAG_NODE_LABEL| Constructor and Description |
|---|
SnmpRequestDTO() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTracingInfo(String key,
String value) |
boolean |
equals(Object obj) |
SnmpAgentConfig |
getAgent() |
String |
getDescription() |
List<SnmpGetRequestDTO> |
getGetRequests() |
String |
getLocation()
Used to route the request to the appropriate location.
|
io.opentracing.Span |
getSpan() |
String |
getSystemId()
Used to route the request to a particular system at the given location.
|
Long |
getTimeToLive() |
Long |
getTimeToLiveMs()
When using JMS, the request will fail if no response was received in this
many milliseconds.
|
Map<String,String> |
getTracingInfo()
RPC clients expose tracing info as tags there by giving more context to each RPC trace.
|
List<SnmpWalkRequestDTO> |
getWalkRequest() |
int |
hashCode() |
void |
setAgent(SnmpAgentConfig agent) |
void |
setDescription(String description) |
void |
setGetRequests(List<SnmpGetRequestDTO> gets) |
void |
setLocation(String location) |
void |
setSystemId(String systemId) |
void |
setTimeToLive(Long timeToLive) |
void |
setWalkRequests(List<SnmpWalkRequestDTO> walks) |
public String getLocation()
RpcRequestgetLocation in interface RpcRequestpublic void setLocation(String location)
public void setSystemId(String systemId)
public String getSystemId()
RpcRequestgetSystemId in interface RpcRequestpublic SnmpAgentConfig getAgent()
public void setAgent(SnmpAgentConfig agent)
public void setGetRequests(List<SnmpGetRequestDTO> gets)
public List<SnmpGetRequestDTO> getGetRequests()
public void setWalkRequests(List<SnmpWalkRequestDTO> walks)
public List<SnmpWalkRequestDTO> getWalkRequest()
public String getDescription()
public void setDescription(String description)
public Long getTimeToLive()
public void setTimeToLive(Long timeToLive)
public Long getTimeToLiveMs()
RpcRequestgetTimeToLiveMs in interface RpcRequestpublic Map<String,String> getTracingInfo()
RpcRequestgetTracingInfo in interface RpcRequestpublic io.opentracing.Span getSpan()
getSpan in interface RpcRequestCopyright © 2022. All rights reserved.