Home | History | Annotate | Download | only in logging

Lines Matching refs:port

61  * <li>   &lt;handler-name&gt;.port
62 * specifies the target TCP port to use (no default). </li>
86 private int port;
108 port = manager.getIntProperty(cname + ".port", 0);
116 * @throws IllegalArgumentException if the host or port are invalid or
119 * host and port.
129 System.err.println("SocketHandler: connect failed to " + host + ":" + port);
136 * Construct a <tt>SocketHandler</tt> using a specified host and port.
140 * and port arguments are used. If the host argument is empty, but not
144 * @param port target port.
146 * @throws IllegalArgumentException if the host or port are invalid.
148 * host and port.
150 public SocketHandler(String host, int port) throws IOException {
154 this.port = port;
161 if (port == 0) {
162 throw new IllegalArgumentException("Bad port: " + port);
173 sock = new Socket(host, port);