#
lty
5 天以前 fcc71e5d0f0eba3f192c581fad184cee0a43ce99
src/main/java/com/zy/asrs/websocket/TvWebSocketServer.java
@@ -179,6 +179,10 @@
        return SESSIONS.keySet();
    }
    public static Map<String, Session> getSessions() {
        return Collections.unmodifiableMap(SESSIONS);
    }
    private String getIp(Session session) {
        Object ip = session.getUserProperties().get("ip");
        return ip != null ? ip.toString() : "unknown";