Class RecordCreatorFactory.HostPortInfo

java.lang.Object
org.apache.hadoop.registry.server.dns.RecordCreatorFactory.HostPortInfo
Enclosing class:
RecordCreatorFactory

public static class RecordCreatorFactory.HostPortInfo extends Object
An object for storing the host and port info used to generate SRV records.
  • Constructor Details

    • HostPortInfo

      public HostPortInfo(org.xbill.DNS.Name host, int port)
      Creates an object with a host and port pair.
      Parameters:
      host - the hostname/ip
      port - the port value