Lines Matching refs:port
20 private int port;
24 * Creates a new HostAddress with the given FQDN. The port will be set to the default XMPP client port: 5222
38 // Set port to the default port for XMPP client communication
39 this.port = 5222;
43 * Creates a new HostAddress with the given FQDN. The port will be set to the default XMPP client port: 5222
46 * @param port The port to connect on.
47 * @throws IllegalArgumentException If the fqdn is null or port is out of valid range (0 - 65535).
49 public HostAddress(String fqdn, int port) {
51 if (port < 0 || port > 65535)
53 "DNS SRV records weight must be a 16-bit unsiged integer (i.e. between 0-65535. Port was: " + port);
55 this.port = port;
63 return port;
72 return fqdn + ":" + port;
89 return port == address.port;
96 return result * 37 + port;