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