Searched refs:backlog (Results 1 - 19 of 19) sorted by relevance

/libcore/luni/src/main/java/javax/net/
H A DDefaultServerSocketFactory.java37 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 DServerSocketFactory.java67 * 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 DSSLServerSocket.java45 * 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 DDefaultSSLServerSocketFactory.java53 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 DOpenSSLServerSocketFactoryImpl.java61 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 DSSLServerSocketFactoryImpl.java107 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 DSSLServerSocketImpl.java66 * @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 DOpenSSLServerSocketImpl.java47 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 DServerSocket.java32 * 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 DSocketImpl.java202 * backlog}. Additional requests are rejected. This method
205 * @param backlog
210 protected abstract void listen(int backlog) throws IOException; argument
H A DPlainSocketImpl.java274 protected void listen(int backlog) throws IOException { argument
281 Libcore.os.listen(fd, backlog);
/libcore/luni/src/test/java/libcore/javax/net/
H A DServerSocketFactoryTest.java89 * 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 DServerSocketFactoryTest.java119 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 DSSLServerSocketTest.java54 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 DServerSocketChannelImpl.java123 @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 DForwardingOs.java88 public void listen(FileDescriptor fd, int backlog) throws ErrnoException { os.listen(fd, backlog); } argument
H A DOs.java80 public void listen(FileDescriptor fd, int backlog) throws ErrnoException; argument
H A DPosix.java82 public native void listen(FileDescriptor fd, int backlog) throws ErrnoException; argument
/libcore/luni/src/main/native/
H A Dlibcore_io_Posix.cpp878 static void Posix_listen(JNIEnv* env, jobject, jobject javaFd, jint backlog) { argument
880 throwIfMinusOne(env, "listen", TEMP_FAILURE_RETRY(listen(fd, backlog)));

Completed in 129 milliseconds