Package org.xbill.DNS

Interface ResolverListener

All Superinterfaces:
EventListener

@Deprecated public interface ResolverListener extends EventListener
An interface to the asynchronous resolver.
Author:
Brian Wellington
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    The callback used by an asynchronous resolver when an exception is thrown
    void
    Deprecated.
    The callback used by an asynchronous resolver
  • Method Details

    • receiveMessage

      void receiveMessage(Object id, Message m)
      Deprecated.
      The callback used by an asynchronous resolver
      Parameters:
      id - The identifier returned by Resolver.sendAsync()
      m - The response message as returned by the Resolver
    • handleException

      void handleException(Object id, Exception e)
      Deprecated.
      The callback used by an asynchronous resolver when an exception is thrown
      Parameters:
      id - The identifier returned by Resolver.sendAsync()
      e - The thrown exception