Interface DomainResolverListener

All Superinterfaces:
EventListener

public interface DomainResolverListener extends EventListener
Implementations of this interface are notified when DomainResolver has completed its DNS query. To receive those events, application should call the asynchronous API DomainResolver.locate(javax.servlet.sip.SipURI, DomainResolverListener, javax.servlet.sip.SipSession)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Notification that query was unsuccessful.
    void
    Notification that query was successful and application can handle results.
  • Method Details

    • handleResults

      void handleResults(SipURILookupEvent event)
      Notification that query was successful and application can handle results.
      Parameters:
      event -
    • error

      void error(SipURILookupErrorEvent event)
      Notification that query was unsuccessful.
      Parameters:
      event -