Lines Matching defs:timeout
56 private volatile int timeout;
81 public void connect(SocketAddress remote, int timeout) throws IOException {
84 if (timeout < 0)
85 throw new IllegalArgumentException("connect: timeout can't be negative");
93 if (timeout == 0) {
103 TimeUnit.NANOSECONDS.convert(timeout,
110 int result = sc.poll(Net.POLLCONN, timeout);
191 if (timeout == 0)
200 TimeUnit.NANOSECONDS.convert(timeout,
206 int result = sc.poll(Net.POLLIN, timeout);
339 public void setSoTimeout(int timeout) throws SocketException {
340 if (timeout < 0)
341 throw new IllegalArgumentException("timeout can't be negative");
342 this.timeout = timeout;
346 return timeout;