Lines Matching defs:timeout
501 * @exception SocketTimeoutException if a timeout was previously set with setSoTimeout and
502 * the timeout has been reached.
641 * specified timeout, in milliseconds. With this option set to a non-zero
642 * timeout, a call to accept() for this ServerSocket
643 * will block for only this amount of time. If the timeout expires,
647 * timeout must be {@code > 0}.
648 * A timeout of zero is interpreted as an infinite timeout.
649 * @param timeout the specified timeout, in milliseconds
655 public synchronized void setSoTimeout(int timeout) throws SocketException {
658 getImpl().setOption(SocketOptions.SO_TIMEOUT, timeout);
663 * 0 returns implies that the option is disabled (i.e., timeout of infinity).
686 * in a timeout state for a period of time after the connection
692 * timeout state involving the socket address or port.
696 * to be bound even though a previous connection is in a timeout state.