public class DefaultDNSLookupPerformer extends Object implements DNSLookupPerformer
SERVICE_D2T, SERVICE_D2U, SERVICE_E2U, SERVICE_SIPS| Constructor and Description |
|---|
DefaultDNSLookupPerformer() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDNSTimeout() |
Queue<javax.sip.address.Hop> |
locateHopsForNonNumericAddressWithPort(String host,
int port,
String transport)
Perform the A and AAAA lookups for a given host, port and transport
|
List<org.xbill.DNS.NAPTRRecord> |
performNAPTRLookup(String domain,
boolean isSecure,
Set<String> supportedTransports)
Performing the DNS NAPTR Lookup for a given domain, whether or not it is secure and the supported transports
|
List<org.xbill.DNS.Record> |
performSRVLookup(String replacement)
Performing the DNS SRV Lookup for a given Name
|
void |
setDNSTimeout(int timeout) |
public List<org.xbill.DNS.Record> performSRVLookup(String replacement)
DNSLookupPerformerperformSRVLookup in interface DNSLookupPerformerreplacement - the replacement for which to perform the SRV lookuppublic List<org.xbill.DNS.NAPTRRecord> performNAPTRLookup(String domain, boolean isSecure, Set<String> supportedTransports)
DNSLookupPerformerperformNAPTRLookup in interface DNSLookupPerformerdomain - the domain to resolveisSecure - whether or not it is securesupportedTransports - the transports supported locallypublic Queue<javax.sip.address.Hop> locateHopsForNonNumericAddressWithPort(String host, int port, String transport)
DNSLookupPerformerlocateHopsForNonNumericAddressWithPort in interface DNSLookupPerformerhost - the hostport - the porttransport - the transportpublic void setDNSTimeout(int timeout)
setDNSTimeout in interface DNSLookupPerformerpublic int getDNSTimeout()
getDNSTimeout in interface DNSLookupPerformerCopyright © 2016. All Rights Reserved.