Add constructors and Javadoc comments to improve clarity and completeness across server components, including WebSocket and routing classes.
This commit is contained in:
@@ -42,6 +42,8 @@ public final class WebSocketGroup {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the name of this group.
|
||||
*
|
||||
* @return the group name
|
||||
*/
|
||||
public String name() {
|
||||
@@ -71,6 +73,8 @@ public final class WebSocketGroup {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns how many connections are currently in the group.
|
||||
*
|
||||
* @return the current number of member connections
|
||||
*/
|
||||
public int size() {
|
||||
|
||||
Reference in New Issue
Block a user