Home | History | Annotate | Download | only in address

Lines Matching defs:hostPort

46     /** hostport field
48 protected HostPort hostPort;
66 hostPort.encode(buffer);
68 hostPort.encode(buffer);
84 if (!this.hostPort.equals(otherAuth.hostPort)) {
96 * get the hostPort member.
97 * @return HostPort
99 public HostPort getHostPort() {
100 return hostPort;
135 if (hostPort == null)
138 return hostPort.getHost();
146 if (hostPort == null)
149 return hostPort.getPort();
155 if (hostPort != null)
156 hostPort.removePort();
184 if (hostPort == null)
185 hostPort = new HostPort();
186 hostPort.setHost(host);
194 if (hostPort == null)
195 hostPort = new HostPort();
196 hostPort.setPort(port);
200 * Set the hostPort member
201 * @param h HostPort to set
203 public void setHostPort(HostPort h) {
204 hostPort = h;
224 if (this.hostPort != null)
225 retval.hostPort = (HostPort) this.hostPort.clone();
233 if ( this.hostPort == null ) throw new UnsupportedOperationException("Null hostPort cannot compute hashcode");
234 return this.hostPort.encode().hashCode();