Package com.ibm.websphere.sip.resolver
Interface DomainResolver
- 
 public interface DomainResolverTheDomainResolverprovides an interface for DNS querying SipURI synchronously and asynchronously.
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringIBM_TTL_PARAM
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<javax.servlet.sip.SipURI>locate(javax.servlet.sip.SipURI sipUri)query DNS synchronously for SIP Uri.voidlocate(javax.servlet.sip.SipURI sipUri, DomainResolverListener drListener, javax.servlet.sip.SipSession sipSession)query DNS asynchronously for SIP Uri.
 
- 
- 
- 
Field Detail- 
IBM_TTL_PARAMstatic final java.lang.String IBM_TTL_PARAM - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
locatejava.util.List<javax.servlet.sip.SipURI> locate(javax.servlet.sip.SipURI sipUri) throws SipURIResolveExceptionquery DNS synchronously for SIP Uri.- Parameters:
- sipUri- sip uri for the DNS query
- Returns:
- Listlist of results, null if nothing was found. 
- Throws:
- SipURIResolveException
 
 - 
locatevoid locate(javax.servlet.sip.SipURI sipUri, DomainResolverListener drListener, javax.servlet.sip.SipSession sipSession) throws SipURIResolveExceptionquery DNS asynchronously for SIP Uri.- Parameters:
- sipUri- sip uri for the DNS query
- drListener- listener which will be triggered once query is completed.
- sipSession- sip session which this query is related for.
- Throws:
- SipURIResolveException
 
 
- 
 
-