public abstract class AbstractSNMPRequestBuilder<T> extends Object implements SNMPRequestBuilder<T>
| Constructor and Description | 
|---|
AbstractSNMPRequestBuilder(LocationAwareSnmpClientRpcImpl client,
                          SnmpAgentConfig agent,
                          List<SnmpGetRequestDTO> gets,
                          List<SnmpWalkRequestDTO> walks)  | 
| Modifier and Type | Method and Description | 
|---|---|
CompletableFuture<T> | 
execute()  | 
protected abstract T | 
processResponse(SnmpMultiResponseDTO response)  | 
SNMPRequestBuilder<T> | 
withDescription(String description)  | 
SNMPRequestBuilder<T> | 
withLocation(String location)  | 
SNMPRequestBuilder<T> | 
withSystemId(String systemId)  | 
SNMPRequestBuilder<T> | 
withTimeToLive(Long ttlInMs)  | 
SNMPRequestBuilder<T> | 
withTimeToLive(long duration,
              TimeUnit unit)  | 
public AbstractSNMPRequestBuilder(LocationAwareSnmpClientRpcImpl client, SnmpAgentConfig agent, List<SnmpGetRequestDTO> gets, List<SnmpWalkRequestDTO> walks)
public SNMPRequestBuilder<T> withLocation(String location)
withLocation in interface SNMPRequestBuilder<T>public SNMPRequestBuilder<T> withSystemId(String systemId)
withSystemId in interface SNMPRequestBuilder<T>public SNMPRequestBuilder<T> withDescription(String description)
withDescription in interface SNMPRequestBuilder<T>public SNMPRequestBuilder<T> withTimeToLive(Long ttlInMs)
withTimeToLive in interface SNMPRequestBuilder<T>public SNMPRequestBuilder<T> withTimeToLive(long duration, TimeUnit unit)
withTimeToLive in interface SNMPRequestBuilder<T>public CompletableFuture<T> execute()
execute in interface SNMPRequestBuilder<T>protected abstract T processResponse(SnmpMultiResponseDTO response)
Copyright © 2020. All rights reserved.