/libcore/luni/src/main/java/javax/net/ |
H A D | DefaultServerSocketFactory.java | 37 public ServerSocket createServerSocket(int port, int backlog) throws IOException { argument 38 return new ServerSocket(port, backlog); 42 public ServerSocket createServerSocket(int port, int backlog, InetAddress iAddress) argument 44 return new ServerSocket(port, backlog, iAddress);
|
H A D | ServerSocketFactory.java | 67 * maximum backlog of 50 unaccepted connections. 81 * @param backlog the maximum number of unaccepted connections. Passing 0 or 82 * a negative value yields the default backlog of 50. 86 public abstract ServerSocket createServerSocket(int port, int backlog) throws IOException; argument 93 * @param backlog the maximum number of unaccepted connections. Passing 0 or 94 * a negative value yields the default backlog of 50. 100 public abstract ServerSocket createServerSocket(int port, int backlog, InetAddress iAddress) argument
|
/libcore/luni/src/main/java/javax/net/ssl/ |
H A D | SSLServerSocket.java | 45 * authentication context. The connection's default backlog size is 50 60 * backlog and the default authentication context. 64 * @param backlog 69 protected SSLServerSocket(int port, int backlog) throws IOException { argument 70 super(port, backlog); 77 * backlog, listening on the specified interface, and using the default 82 * @param backlog 89 protected SSLServerSocket(int port, int backlog, InetAddress address) throws IOException { argument 90 super(port, backlog, address);
|
H A D | DefaultSSLServerSocketFactory.java | 53 public ServerSocket createServerSocket(int port, int backlog) throws IOException { argument 58 public ServerSocket createServerSocket(int port, int backlog, InetAddress iAddress) argument
|
/libcore/crypto/src/main/java/org/conscrypt/ |
H A D | OpenSSLServerSocketFactoryImpl.java | 61 public ServerSocket createServerSocket(int port, int backlog) argument 64 backlog, 69 int backlog, 72 backlog, 68 createServerSocket(int port, int backlog, InetAddress iAddress) argument
|
H A D | SSLServerSocketFactoryImpl.java | 107 public ServerSocket createServerSocket(int port, int backlog) argument 112 return new SSLServerSocketImpl(port, backlog, 120 public ServerSocket createServerSocket(int port, int backlog, argument 125 return new SSLServerSocketImpl(port, backlog, iAddress,
|
H A D | SSLServerSocketImpl.java | 66 * @param backlog: int 70 protected SSLServerSocketImpl(int port, int backlog, argument 72 super(port, backlog); 79 * @param backlog: int 84 protected SSLServerSocketImpl(int port, int backlog, argument 88 super(port, backlog, iAddress);
|
H A D | OpenSSLServerSocketImpl.java | 47 protected OpenSSLServerSocketImpl(int port, int backlog, SSLParametersImpl sslParameters) argument 49 super(port, backlog); 54 int backlog, 58 super(port, backlog, iAddress); 53 OpenSSLServerSocketImpl(int port, int backlog, InetAddress iAddress, SSLParametersImpl sslParameters) argument
|
/libcore/luni/src/main/java/java/net/ |
H A D | ServerSocket.java | 32 * The RI specifies that where the caller doesn't give an explicit backlog, 65 * The backlog is set to 50. If {@code port == 0}, a port will be assigned by the OS. 75 * The backlog is set to {@code backlog}. 80 public ServerSocket(int port, int backlog) throws IOException { argument 81 this(port, backlog, Inet4Address.ANY); 86 * and {@code port}. The backlog is set to {@code backlog}. 92 public ServerSocket(int port, int backlog, InetAddress localAddress) throws IOException { argument 103 impl.listen(backlog > 298 bind(SocketAddress localAddr, int backlog) argument [all...] |
H A D | SocketImpl.java | 202 * backlog}. Additional requests are rejected. This method 205 * @param backlog 210 protected abstract void listen(int backlog) throws IOException; argument
|
H A D | PlainSocketImpl.java | 274 protected void listen(int backlog) throws IOException { argument 281 Libcore.os.listen(fd, backlog);
|
/libcore/luni/src/test/java/libcore/javax/net/ |
H A D | ServerSocketFactoryTest.java | 89 * Validates that the backlog of the listening address is as specified. 93 List<Socket> backlog = new ArrayList<Socket>(); 99 backlog.add(socket); 103 fail("Failed to exhaust backlog after " + max + " connections!"); 107 System.out.println("backlog peaked at " + peak); 109 for (Socket socket : backlog) { 116 * backlog: it is multiplied by 1.5." 119 * backlog.
|
/libcore/luni/src/test/java/tests/api/javax/net/ |
H A D | ServerSocketFactoryTest.java | 119 public ServerSocket createServerSocket(int port, int backlog) argument 125 public ServerSocket createServerSocket(int port, int backlog, argument
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
H A D | SSLServerSocketTest.java | 54 public mySSLServerSocket(int port, int backlog) throws IOException{ argument 55 super(port, backlog); 58 public mySSLServerSocket(int port, int backlog, InetAddress address) throws IOException{ argument 59 super(port, backlog, address); 149 * javax.net.ssl.SSLServerSocket#SSLServerSocket(int port, int backlog) 171 * javax.net.ssl.SSLServerSocket#SSLServerSocket(int port, int backlog, InetAddress address)
|
/libcore/luni/src/main/java/java/nio/ |
H A D | ServerSocketChannelImpl.java | 123 @Override public void bind(SocketAddress localAddress, int backlog) throws IOException { argument 124 super.bind(localAddress, backlog);
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | ForwardingOs.java | 88 public void listen(FileDescriptor fd, int backlog) throws ErrnoException { os.listen(fd, backlog); } argument
|
H A D | Os.java | 80 public void listen(FileDescriptor fd, int backlog) throws ErrnoException; argument
|
H A D | Posix.java | 82 public native void listen(FileDescriptor fd, int backlog) throws ErrnoException; argument
|
/libcore/luni/src/main/native/ |
H A D | libcore_io_Posix.cpp | 878 static void Posix_listen(JNIEnv* env, jobject, jobject javaFd, jint backlog) { argument 880 throwIfMinusOne(env, "listen", TEMP_FAILURE_RETRY(listen(fd, backlog)));
|