Home | History | Annotate | Download | only in logging

Lines Matching refs:host

59  * <li>   &lt;handler-name&gt;.host
60 * specifies the target host name to connect to (no default). </li>
85 private String host;
109 host = manager.getStringProperty(cname + ".host", null);
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.
139 * properties (or their default values) except that the given target host
140 * and port arguments are used. If the host argument is empty, but not
143 * @param host target host.
146 * @throws IllegalArgumentException if the host or port are invalid.
148 * host and port.
150 public SocketHandler(String host, int port) throws IOException {
155 this.host = host;
164 if (host == null) {
165 throw new IllegalArgumentException("Null host name: " + host);
173 sock = new Socket(host, port);