Lines Matching defs:timeout
60 private volatile int timeout = 0;
85 public void connect(SocketAddress remote, int timeout) throws IOException {
88 if (timeout < 0)
89 throw new IllegalArgumentException("connect: timeout can't be negative");
97 if (timeout == 0) {
102 // Implement timeout with a selector
111 long to = timeout;
202 if (timeout == 0)
205 // Implement timeout with a selector
216 long to = timeout;
233 getPort(), timeout, n > 0 ? n : 0);
364 public void setSoTimeout(int timeout) throws SocketException {
365 if (timeout < 0)
366 throw new IllegalArgumentException("timeout can't be negative");
367 this.timeout = timeout;
371 return timeout;