Class LocationAwareDnsLookupClientRpcImpl
- java.lang.Object
-
- org.opennms.netmgt.provision.dns.client.rpc.LocationAwareDnsLookupClientRpcImpl
-
- All Implemented Interfaces:
LocationAwareDnsLookupClient,org.springframework.beans.factory.InitializingBean
public class LocationAwareDnsLookupClientRpcImpl extends Object implements LocationAwareDnsLookupClient, org.springframework.beans.factory.InitializingBean
-
-
Constructor Summary
Constructors Constructor Description LocationAwareDnsLookupClientRpcImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()RpcClient<DnsLookupRequestDTO,DnsLookupResponseDTO>getDelegate()CompletableFuture<String>lookup(String hostName, String location)CompletableFuture<String>lookup(String hostName, String location, String systemId)CompletableFuture<String>reverseLookup(InetAddress ipAddress, String location)CompletableFuture<String>reverseLookup(InetAddress ipAddress, String location, String systemId)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
lookup
public CompletableFuture<String> lookup(String hostName, String location)
- Specified by:
lookupin interfaceLocationAwareDnsLookupClient
-
lookup
public CompletableFuture<String> lookup(String hostName, String location, String systemId)
- Specified by:
lookupin interfaceLocationAwareDnsLookupClient
-
reverseLookup
public CompletableFuture<String> reverseLookup(InetAddress ipAddress, String location)
- Specified by:
reverseLookupin interfaceLocationAwareDnsLookupClient
-
reverseLookup
public CompletableFuture<String> reverseLookup(InetAddress ipAddress, String location, String systemId)
- Specified by:
reverseLookupin interfaceLocationAwareDnsLookupClient
-
getDelegate
public RpcClient<DnsLookupRequestDTO,DnsLookupResponseDTO> getDelegate()
-
-