diff --git a/net/src/main/java/com/zfoo/net/session/SessionManager.java b/net/src/main/java/com/zfoo/net/session/SessionManager.java index d8c0199fc..22d501bb4 100644 --- a/net/src/main/java/com/zfoo/net/session/SessionManager.java +++ b/net/src/main/java/com/zfoo/net/session/SessionManager.java @@ -30,15 +30,18 @@ public class SessionManager implements ISessionManager { private static final AtomicInteger CLIENT_ATOMIC = new AtomicInteger(0); /** - * 作为服务器,被别的客户端连接的Session + * EN: As a server, the Session is connected by other clients + * CN: 作为服务器,被别的客户端连接的Session + *
* 如:自己作为网关,那肯定有一大堆客户端连接,他们连接上来后,就会保存下来这些信息。
* 因此:要全局消息广播,其实要用这个Map
*/
- private final ConcurrentHashMapLongObject