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

123

/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DDefaultHttpServerProvider.java34 public HttpServer createHttpServer (InetSocketAddress addr, int backlog) throws IOException { argument
35 return new HttpServerImpl (addr, backlog);
38 public HttpsServer createHttpsServer (InetSocketAddress addr, int backlog) throws IOException { argument
39 return new HttpsServerImpl (addr, backlog);
H A DHttpServerImpl.java48 InetSocketAddress addr, int backlog
50 server = new ServerImpl (this, "http", addr, backlog);
53 public void bind (InetSocketAddress addr, int backlog) throws IOException { argument
54 server.bind (addr, backlog);
H A DHttpsServerImpl.java48 InetSocketAddress addr, int backlog
50 server = new ServerImpl (this, "https", addr, backlog);
61 public void bind (InetSocketAddress addr, int backlog) throws IOException { argument
62 server.bind (addr, backlog);
/openjdk7/jdk/src/share/classes/javax/net/
H A DServerSocketFactory.java129 * specified connection backlog. The socket is configured with
132 * The <code>backlog</code> argument must be a positive
142 * @param backlog how many connections are queued
154 createServerSocket(int port, int backlog) argument
160 * with a specified listen backlog and local IP.
169 * The <code>backlog</code> argument must be a positive
179 * @param backlog how many connections are queued
192 createServerSocket(int port, int backlog, InetAddress ifAddress) argument
221 public ServerSocket createServerSocket(int port, int backlog) argument
224 return new ServerSocket(port, backlog);
228 createServerSocket(int port, int backlog, InetAddress ifAddress) argument
[all...]
/openjdk7/jdk/src/share/sample/nio/server/
H A DN1.java53 N1(int port, int backlog, boolean secure) throws Exception { argument
54 super(port, backlog, secure);
H A DN2.java50 N2(int port, int backlog, boolean secure) throws Exception { argument
51 super(port, backlog, secure);
H A DB1.java52 B1(int port, int backlog, boolean secure) throws Exception { argument
53 super(port, backlog, secure);
H A DServer.java65 Server(int port, int backlog, argument
74 ssc.socket().bind(new InetSocketAddress(port), backlog);
114 + " -backlog backlog backlog\n"
130 int backlog = BACKLOG;
137 } else if (args[i].equals("-backlog")) {
139 backlog = Integer.valueOf(args[++i]);
150 server = new B1(port, backlog, secure);
152 server = new BN(port, backlog, secur
[all...]
H A DBN.java53 BN(int port, int backlog, boolean secure) throws Exception { argument
54 super(port, backlog, secure);
H A DBP.java55 BP(int port, int backlog, boolean secure) throws Exception { argument
56 super(port, backlog, secure);
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DSSLServerSocketFactoryImpl.java81 public ServerSocket createServerSocket (int port, int backlog) argument
84 return new SSLServerSocketImpl (port, backlog, context);
88 createServerSocket (int port, int backlog, InetAddress ifAddress) argument
91 return new SSLServerSocketImpl (port, backlog, ifAddress, context);
H A DSSLServerSocketImpl.java97 * authentication context and a specified connection backlog.
100 * @param backlog how many connections may be pending before
104 SSLServerSocketImpl(int port, int backlog, SSLContextImpl context) argument
107 super(port, backlog);
114 * authentication context and a specified backlog of connections
121 * @param backlog how many connections may be pending before
129 int backlog,
134 super(port, backlog, address);
127 SSLServerSocketImpl( int port, int backlog, InetAddress address, SSLContextImpl context) argument
/openjdk7/jdk/src/share/classes/com/sun/net/httpserver/
H A DHttpsServer.java70 * A maximum backlog can also be specified. This is the maximum number of
78 * @param backlog the socket backlog. If this value is less than or equal to zero,
86 InetSocketAddress addr, int backlog
89 return provider.createHttpsServer (addr, backlog);
H A DHttpServer.java81 * <i>backlog</i> parameter. This represents the maximum number of incoming TCP connections
85 * backlog value is a compromise between efficient resource usage in the TCP layer (not setting
111 * A maximum backlog can also be specified. This is the maximum number of
118 * @param backlog the socket backlog. If this value is less than or equal to zero,
126 InetSocketAddress addr, int backlog
129 return provider.createHttpServer (addr, backlog);
134 * A maximum backlog can also be specified. This is the maximum number of
138 * @param backlog the socket backlog
144 bind(InetSocketAddress addr, int backlog) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/net/ssl/
H A DSSLServerSocket.java78 * authentication context. The connection backlog defaults to
107 * authentication context and a specified backlog of connections.
111 * The <code>backlog</code> argument is the requested maximum number of
124 * @param backlog requested maximum length of the queue of incoming
134 protected SSLServerSocket(int port, int backlog) argument
136 { super(port, backlog); }
143 * authentication context and a specified backlog of connections
156 * The <code>backlog</code> argument is the requested maximum number of
167 * @param backlog requested maximum length of the queue of incoming
179 protected SSLServerSocket(int port, int backlog, InetAddres argument
[all...]
H A DSSLServerSocketFactory.java174 public ServerSocket createServerSocket(int port, int backlog) argument
181 createServerSocket(int port, int backlog, InetAddress ifAddress) argument
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/GenSSLConfigs/
H A DServerThread.java34 private int backlog = 50; field in class:ServerThread
47 ServerThread (int port, int backlog, SSLContext ctx) argument
53 this.backlog = backlog;
94 // - connection backlog
101 factory.createServerSocket(port, backlog);
/openjdk7/jdk/test/sun/security/ssl/sanity/pluggability/
H A DMySSLServerSocketFacImpl.java54 public ServerSocket createServerSocket(int port, int backlog) { argument
57 public ServerSocket createServerSocket(int port, int backlog, argument
/openjdk7/jdk/src/share/classes/java/net/
H A DServerSocket.java133 * number, with the specified backlog.
140 * request to connect) is set to the <code>backlog</code> parameter. If
154 * The <code>backlog</code> argument is the requested maximum number of
164 * @param backlog requested maximum length of the queue of incoming
180 public ServerSocket(int port, int backlog) throws IOException { argument
181 this(port, backlog, null);
185 * Create a server with the specified port, listen backlog, and
203 * The <code>backlog</code> argument is the requested maximum number of
212 * @param backlog requested maximum length of the queue of incoming
229 public ServerSocket(int port, int backlog, InetAddres argument
358 bind(SocketAddress endpoint, int backlog) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/rmi/transport/proxy/
H A DHttpAwareServerSocket.java56 * specifying the port number to be 0. <i>backlog</i> specifies
60 * @param backlog the number of queued connect requests pending accept
62 public HttpAwareServerSocket(int port, int backlog) throws IOException argument
64 super(port, backlog);
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DServerSocketChannel.java165 * <p> The {@code backlog} parameter is the maximum number of pending
168 * to ignore the parameter altogther. If the {@code backlog} parameter has
175 * @param backlog
195 public abstract ServerSocketChannel bind(SocketAddress local, int backlog) argument
/openjdk7/jdk/test/java/net/Socket/
H A DOldImpl.java73 protected void listen(int backlog){ argument
H A DOldSocketImpl.java54 protected void listen(int backlog) throws IOException { } argument
/openjdk7/jdk/src/share/classes/com/sun/net/httpserver/spi/
H A DHttpServerProvider.java50 * @param backlog the socket backlog. A value of <code>zero</code> means the systems default
52 public abstract HttpServer createHttpServer (InetSocketAddress addr, int backlog) throws IOException; argument
57 * @param backlog the socket backlog. A value of <code>zero</code> means the systems default
59 public abstract HttpsServer createHttpsServer (InetSocketAddress addr, int backlog) throws IOException; argument
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DServerSocketChannelImpl.c69 jobject fdo, jint backlog)
71 if (listen(fdval(env,fdo), backlog) == SOCKET_ERROR) {
68 Java_sun_nio_ch_ServerSocketChannelImpl_listen(JNIEnv *env, jclass cl, jobject fdo, jint backlog) argument

Completed in 122 milliseconds

123