Lines Matching defs:timeout
137 * @param timeout the timeout value in milliseconds or 0 for infinite timeout
141 * @throws SocketTimeoutException if the timeout fires
143 public void connect(String dstName, int dstPort, int timeout)
145 if (DBG) log("connect(dstName, dstPort, timeout) EX");
159 if (DBG) log("connect(dstName, dstPort, timeout) EX");
164 * by the SocketAddress with the specified timeout.
165 * @deprecated Use {@code connect(String dstName, int dstPort, int timeout)}
171 * @throws SocketTimeoutException if the timeout expires
175 public void connect(SocketAddress remoteAddr, int timeout)
177 if (DBG) log("connect(remoteAddr, timeout) EX DEPRECATED");
200 * as the original with a timeout parameter.
201 * @param timeout the timeout value in milliseconds or 0 for infinite timeout
205 public void connect(int timeout) throws IOException {
206 if (DBG) log("connect(timeout) EX");