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 java.lang.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 void
afterPropertiesSet()
RpcClient<DnsLookupRequestDTO,DnsLookupResponseDTO>
getDelegate()
java.util.concurrent.CompletableFuture<java.lang.String>
lookup(java.lang.String hostName, java.lang.String location)
java.util.concurrent.CompletableFuture<java.lang.String>
lookup(java.lang.String hostName, java.lang.String location, java.lang.String systemId)
java.util.concurrent.CompletableFuture<java.lang.String>
reverseLookup(java.net.InetAddress ipAddress, java.lang.String location)
java.util.concurrent.CompletableFuture<java.lang.String>
reverseLookup(java.net.InetAddress ipAddress, java.lang.String location, java.lang.String systemId)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
lookup
public java.util.concurrent.CompletableFuture<java.lang.String> lookup(java.lang.String hostName, java.lang.String location)
- Specified by:
lookup
in interfaceLocationAwareDnsLookupClient
-
lookup
public java.util.concurrent.CompletableFuture<java.lang.String> lookup(java.lang.String hostName, java.lang.String location, java.lang.String systemId)
- Specified by:
lookup
in interfaceLocationAwareDnsLookupClient
-
reverseLookup
public java.util.concurrent.CompletableFuture<java.lang.String> reverseLookup(java.net.InetAddress ipAddress, java.lang.String location)
- Specified by:
reverseLookup
in interfaceLocationAwareDnsLookupClient
-
reverseLookup
public java.util.concurrent.CompletableFuture<java.lang.String> reverseLookup(java.net.InetAddress ipAddress, java.lang.String location, java.lang.String systemId)
- Specified by:
reverseLookup
in interfaceLocationAwareDnsLookupClient
-
getDelegate
public RpcClient<DnsLookupRequestDTO,DnsLookupResponseDTO> getDelegate()
-
-