From 79e211ab90308f92cf7ea79041e2dfeba363b8b6 Mon Sep 17 00:00:00 2001 From: "Leo.Qin" Date: Wed, 25 Oct 2023 11:25:04 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-106402=20websocket=20cbb=20---=E6=8A=A5?= =?UTF-8?q?=E8=A1=A8=E9=80=82=E9=85=8D=20=E3=80=90=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E5=8E=9F=E5=9B=A0=E3=80=91=E4=BF=AE=E6=94=B9=E5=8C=85=E5=90=8D?= =?UTF-8?q?=20=E3=80=90=E6=94=B9=E5=8A=A8=E6=80=9D=E8=B7=AF=E3=80=91rt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fr/design/login/socketio/LoginAuthServer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/login/socketio/LoginAuthServer.java b/designer-base/src/main/java/com/fr/design/login/socketio/LoginAuthServer.java index 56cef8505f..b0c57418ac 100644 --- a/designer-base/src/main/java/com/fr/design/login/socketio/LoginAuthServer.java +++ b/designer-base/src/main/java/com/fr/design/login/socketio/LoginAuthServer.java @@ -3,10 +3,10 @@ package com.fr.design.login.socketio; import com.fr.cbb.websocket.core.WebSocketAckRequest; import com.fr.cbb.websocket.core.WebSocketClientProvider; import com.fr.cbb.websocket.core.WebSocketConfiguration; +import com.fr.cbb.websocket.core.WebSocketServerFactory; import com.fr.cbb.websocket.core.WebSocketServerProvider; import com.fr.cbb.websocket.holder.EventHolder; -import com.fr.cbb.websocket.listener.AbstractDataListener; -import com.fr.cbb.websocket.core.WebSocketServerFactory; +import com.fr.cbb.websocket.listener.SocketDataListener; import com.fr.concurrent.NamedThreadFactory; import com.fr.design.DesignerEnvManager; import com.fr.design.login.DesignerLoginType; @@ -89,7 +89,7 @@ public class LoginAuthServer { } private void initEventListener() { - server.addEventListener(EventHolder.build("bbsAccountLogin", BBSAccountLogin.class, new AbstractDataListener() { + server.addEventListener(EventHolder.build("bbsAccountLogin", BBSAccountLogin.class, new SocketDataListener() { @Override public void onData(WebSocketClientProvider client, BBSAccountLogin data, WebSocketAckRequest ackRequest) throws Exception { // 保存登录信息到.FineReport100配置中