Class NameserverLookupByHostCommand

java.lang.Object
google.registry.whois.NameserverLookupByHostCommand
All Implemented Interfaces:
WhoisCommand

public class NameserverLookupByHostCommand extends Object implements WhoisCommand
Represents a WHOIS lookup on a nameserver based on its hostname.
  • Method Details

    • executeQuery

      public final WhoisResponse executeQuery(org.joda.time.DateTime now) throws WhoisException
      Description copied from interface: WhoisCommand
      Executes a WHOIS query and returns the resultant data.
      Specified by:
      executeQuery in interface WhoisCommand
      Returns:
      An object representing the response to the WHOIS command.
      Throws:
      WhoisException - If some error occured while executing the command.