Lines Matching defs:InetSocketAddress
52 public class InetSocketAddress
165 public InetSocketAddress(int port) {
184 public InetSocketAddress(InetAddress addr, int port) {
215 public InetSocketAddress(String hostname, int port) {
228 private InetSocketAddress(int port, String hostname) {
249 * @return a <code>InetSocketAddress</code> representing the unresolved
253 public static InetSocketAddress createUnresolved(String host, int port) {
254 return new InetSocketAddress(checkPort(port), checkHost(host));
311 InetSocketAddress.class.getDeclaredField("holder"));
371 * Constructs a string representation of this InetSocketAddress.
389 * Two instances of <code>InetSocketAddress</code> represent the same
405 if (obj == null || !(obj instanceof InetSocketAddress))
407 return holder.equals(((InetSocketAddress) obj).holder);