com.ibm.websphere.sip.resolver

Interface DomainResolver


  1. public interface DomainResolver
The DomainResolver provides an interface for DNS querying SipURI synchronously and asynchronously.

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
IBM_TTL_PARAM

Method Summary

Modifier and Type Method and Description
  1. java.util.List<javax.servlet.sip.SipURI>
locate(javax.servlet.sip.SipURI sipUri)
query DNS synchronously for SIP Uri.
  1. void
locate(javax.servlet.sip.SipURI sipUri,DomainResolverListener drListener,javax.servlet.sip.SipSession sipSession)
query DNS asynchronously for SIP Uri.

Field Detail

IBM_TTL_PARAM

  1. static final java.lang.String IBM_TTL_PARAM
See Also:

Method Detail

locate

  1. java.util.List<javax.servlet.sip.SipURI> locate( javax.servlet.sip.SipURI sipUri)
  2. throws SipURIResolveException
query DNS synchronously for SIP Uri.
Parameters:
sipUri -
Returns:
List list of results, null if nothing was found.
Throws:

locate

  1. void locate(javax.servlet.sip.SipURI sipUri,
  2. DomainResolverListener drListener,
  3. javax.servlet.sip.SipSession sipSession)
  4. throws SipURIResolveException
query DNS asynchronously for SIP Uri.
Parameters:
sipUri -
drListener - listener which will be triggered once query is completed.
sipSession - sip session which this query is related for.
Throws: