diff --git a/src/main/java/com/corundumstudio/socketio/Configuration.java b/src/main/java/com/corundumstudio/socketio/Configuration.java index 3abdae9..344699f 100644 --- a/src/main/java/com/corundumstudio/socketio/Configuration.java +++ b/src/main/java/com/corundumstudio/socketio/Configuration.java @@ -397,15 +397,26 @@ public class Configuration { public SocketConfig getSocketConfig() { return socketConfig; } + /** + * TCP socket configuration + * + * @param socketConfig + */ public void setSocketConfig(SocketConfig socketConfig) { this.socketConfig = socketConfig; } - public boolean isAutoAck() { - return autoAck; - } + /** + * Send ack-response automatically on each ack-request + * Default is {@code true} + * + * @param autoAck + */ public void setAutoAck(boolean autoAck) { this.autoAck = autoAck; } + public boolean isAutoAck() { + return autoAck; + } } diff --git a/src/main/java/com/corundumstudio/socketio/SocketConfig.java b/src/main/java/com/corundumstudio/socketio/SocketConfig.java index e9813c0..2c6e9c7 100644 --- a/src/main/java/com/corundumstudio/socketio/SocketConfig.java +++ b/src/main/java/com/corundumstudio/socketio/SocketConfig.java @@ -19,6 +19,7 @@ package com.corundumstudio.socketio; * TCP socket configuration contains configuration for main server channel * and client channels * + * @see java.net.SocketOptions */ public class SocketConfig {