Package org.jivesoftware.openfire.net
Class DNSUtil.HostAddress
- java.lang.Object
-
- org.jivesoftware.openfire.net.DNSUtil.HostAddress
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DNSUtil.WeightedHostAddress
- Enclosing class:
- DNSUtil
public static class DNSUtil.HostAddress extends Object implements Serializable
Encapsulates a hostname and port.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HostAddress(String host, int port, boolean directTLS)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHost()
Returns the hostname.int
getPort()
Returns the port.boolean
isDirectTLS()
String
toString()
-
-
-
Constructor Detail
-
HostAddress
public HostAddress(String host, int port, boolean directTLS)
-
-