Class LocationAwareSnmpClientRpcImpl
- java.lang.Object
-
- org.opennms.netmgt.snmp.proxy.common.LocationAwareSnmpClientRpcImpl
-
- All Implemented Interfaces:
LocationAwareSnmpClient
,org.springframework.beans.factory.InitializingBean
public class LocationAwareSnmpClientRpcImpl extends java.lang.Object implements LocationAwareSnmpClient, org.springframework.beans.factory.InitializingBean
Location-aware SNMP client that builds aSnmpRequestDTO
and delegates the request to either a local, or a remote @{link SnmpRequestExecutor}.- Author:
- jwhite
-
-
Constructor Summary
Constructors Constructor Description LocationAwareSnmpClientRpcImpl()
LocationAwareSnmpClientRpcImpl(RpcClientFactory rpcClientFactory)
-
Method Summary
-
-
-
Constructor Detail
-
LocationAwareSnmpClientRpcImpl
public LocationAwareSnmpClientRpcImpl()
-
LocationAwareSnmpClientRpcImpl
public LocationAwareSnmpClientRpcImpl(RpcClientFactory rpcClientFactory)
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
walk
public SNMPRequestBuilder<java.util.List<SnmpResult>> walk(SnmpAgentConfig agent, java.lang.String... oids)
- Specified by:
walk
in interfaceLocationAwareSnmpClient
-
walk
public SNMPRequestBuilder<java.util.List<SnmpResult>> walk(SnmpAgentConfig agent, SnmpObjId... oids)
- Specified by:
walk
in interfaceLocationAwareSnmpClient
-
walk
public SNMPRequestBuilder<java.util.List<SnmpResult>> walk(SnmpAgentConfig agent, java.util.List<SnmpObjId> oids)
- Specified by:
walk
in interfaceLocationAwareSnmpClient
-
walk
public SNMPRequestBuilder<CollectionTracker> walk(SnmpAgentConfig agent, CollectionTracker tracker)
- Specified by:
walk
in interfaceLocationAwareSnmpClient
-
get
public SNMPRequestBuilder<SnmpValue> get(SnmpAgentConfig agent, java.lang.String oid)
- Specified by:
get
in interfaceLocationAwareSnmpClient
-
get
public SNMPRequestBuilder<SnmpValue> get(SnmpAgentConfig agent, SnmpObjId oid)
- Specified by:
get
in interfaceLocationAwareSnmpClient
-
get
public SNMPRequestBuilder<java.util.List<SnmpValue>> get(SnmpAgentConfig agent, java.lang.String... oids)
- Specified by:
get
in interfaceLocationAwareSnmpClient
-
get
public SNMPRequestBuilder<java.util.List<SnmpValue>> get(SnmpAgentConfig agent, SnmpObjId... oids)
- Specified by:
get
in interfaceLocationAwareSnmpClient
-
get
public SNMPRequestBuilder<java.util.List<SnmpValue>> get(SnmpAgentConfig agent, java.util.List<SnmpObjId> oids)
- Specified by:
get
in interfaceLocationAwareSnmpClient
-
execute
public java.util.concurrent.CompletableFuture<SnmpMultiResponseDTO> execute(SnmpRequestDTO request)
-
-