Class RecordCreatorFactory.HostPortInfo
java.lang.Object
org.apache.hadoop.registry.server.dns.RecordCreatorFactory.HostPortInfo
- Enclosing class:
- RecordCreatorFactory
An object for storing the host and port info used to generate SRV records.
-
Constructor Summary
ConstructorsConstructorDescriptionHostPortInfo(org.xbill.DNS.Name host, int port) Creates an object with a host and port pair. -
Method Summary
-
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/ipport- the port value
-