File tree 1 file changed +3
-0
lines changed
src/main/java/org/java_websocket/server
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ public abstract class WebSocketServer extends AbstractWebSocket implements Runna
109
109
/**
110
110
* Attribute which allows you to configure the socket "backlog" parameter
111
111
* which determines how many client connections can be queued.
112
+ * @since 1.5.0
112
113
*/
113
114
private int maxPendingConnections = -1 ;
114
115
@@ -316,6 +317,7 @@ public List<Draft> getDraft() {
316
317
* Set the requested maximum number of pending connections on the socket. The exact semantics are implementation
317
318
* specific. The value provided should be greater than 0. If it is less than or equal to 0, then
318
319
* an implementation specific default will be used. This option will be passed as "backlog" parameter to {@link ServerSocket#bind(SocketAddress, int)}
320
+ * @since 1.5.0
319
321
*/
320
322
public void setMaxPendingConnections (int numberOfConnections ) {
321
323
maxPendingConnections = numberOfConnections ;
@@ -325,6 +327,7 @@ public void setMaxPendingConnections(int numberOfConnections) {
325
327
* Returns the currently configured maximum number of pending connections.
326
328
*
327
329
* @see #setMaxPendingConnections(int)
330
+ * @since 1.5.0
328
331
*/
329
332
public int getMaxPendingConnections () {
330
333
return maxPendingConnections ;
You can’t perform that action at this time.
0 commit comments