public class LocationAwareSnmpClientRpcImpl extends Object implements LocationAwareSnmpClient, org.springframework.beans.factory.InitializingBean
SnmpRequestDTO
and delegates
the request to either a local, or a remote @{link SnmpRequestExecutor}.Constructor and Description |
---|
LocationAwareSnmpClientRpcImpl() |
LocationAwareSnmpClientRpcImpl(RpcClientFactory rpcClientFactory) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
CompletableFuture<SnmpMultiResponseDTO> |
execute(SnmpRequestDTO request) |
SNMPRequestBuilder<List<SnmpValue>> |
get(SnmpAgentConfig agent,
List<SnmpObjId> oids) |
SNMPRequestBuilder<List<SnmpValue>> |
get(SnmpAgentConfig agent,
SnmpObjId... oids) |
SNMPRequestBuilder<SnmpValue> |
get(SnmpAgentConfig agent,
SnmpObjId oid) |
SNMPRequestBuilder<List<SnmpValue>> |
get(SnmpAgentConfig agent,
String... oids) |
SNMPRequestBuilder<SnmpValue> |
get(SnmpAgentConfig agent,
String oid) |
SNMPRequestBuilder<CollectionTracker> |
walk(SnmpAgentConfig agent,
CollectionTracker tracker) |
SNMPRequestBuilder<List<SnmpResult>> |
walk(SnmpAgentConfig agent,
List<SnmpObjId> oids) |
SNMPRequestBuilder<List<SnmpResult>> |
walk(SnmpAgentConfig agent,
SnmpObjId... oids) |
SNMPRequestBuilder<List<SnmpResult>> |
walk(SnmpAgentConfig agent,
String... oids) |
public LocationAwareSnmpClientRpcImpl()
public LocationAwareSnmpClientRpcImpl(RpcClientFactory rpcClientFactory)
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public SNMPRequestBuilder<List<SnmpResult>> walk(SnmpAgentConfig agent, String... oids)
walk
in interface LocationAwareSnmpClient
public SNMPRequestBuilder<List<SnmpResult>> walk(SnmpAgentConfig agent, SnmpObjId... oids)
walk
in interface LocationAwareSnmpClient
public SNMPRequestBuilder<List<SnmpResult>> walk(SnmpAgentConfig agent, List<SnmpObjId> oids)
walk
in interface LocationAwareSnmpClient
public SNMPRequestBuilder<CollectionTracker> walk(SnmpAgentConfig agent, CollectionTracker tracker)
walk
in interface LocationAwareSnmpClient
public SNMPRequestBuilder<SnmpValue> get(SnmpAgentConfig agent, String oid)
get
in interface LocationAwareSnmpClient
public SNMPRequestBuilder<SnmpValue> get(SnmpAgentConfig agent, SnmpObjId oid)
get
in interface LocationAwareSnmpClient
public SNMPRequestBuilder<List<SnmpValue>> get(SnmpAgentConfig agent, String... oids)
get
in interface LocationAwareSnmpClient
public SNMPRequestBuilder<List<SnmpValue>> get(SnmpAgentConfig agent, SnmpObjId... oids)
get
in interface LocationAwareSnmpClient
public SNMPRequestBuilder<List<SnmpValue>> get(SnmpAgentConfig agent, List<SnmpObjId> oids)
get
in interface LocationAwareSnmpClient
public CompletableFuture<SnmpMultiResponseDTO> execute(SnmpRequestDTO request)
Copyright © 2021. All rights reserved.