Home
last modified time | relevance | path

Searched refs:connectTimeout (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/sun/net/
DNetworkClient.java63 protected int connectTimeout = DEFAULT_CONNECT_TIMEOUT; field in NetworkClient
174 if (connectTimeout >= 0) { in doConnect()
175 s.connect(new InetSocketAddress(server, port), connectTimeout); in doConnect()
236 connectTimeout = timeout;
240 return connectTimeout;
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DFtpURLConnection.java114 private int connectTimeout = NetworkClient.DEFAULT_CONNECT_TIMEOUT;; field in FtpURLConnection
208 if (connectTimeout >= 0) { in setTimeouts()
209 ftp.setConnectTimeout(connectTimeout); in setTimeouts()
662 connectTimeout = timeout;
667 return (connectTimeout < 0 ? 0 : connectTimeout);
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
DFtpClient.java62 private int connectTimeout = -1; field in FtpClient
676 if (connectTimeout >= 0) { in openPassiveDataConnection()
677 s.connect(dest, connectTimeout); in openPassiveDataConnection()
775 if (connectTimeout >= 0) { in openDataConnection()
776 portSocket.setSoTimeout(connectTimeout); in openDataConnection()
868 connectTimeout = timeout; in setConnectTimeout()
879 return connectTimeout; in getConnectTimeout()
964 if (connectTimeout >= 0) { in doConnect()
965 s.connect(dest, connectTimeout); in doConnect()
/libcore/ojluni/src/main/java/java/net/
DURLConnection.java278 private int connectTimeout; field in URLConnection
418 connectTimeout = timeout; in setConnectTimeout()
434 return connectTimeout; in getConnectTimeout()