Browse Source

Pull request #12930: REPORT-106402 websocket cbb ---报表适配

Merge in DESIGN/design from ~LEO.QIN/design:release/11.0 to release/11.0

* commit '79e211ab90308f92cf7ea79041e2dfeba363b8b6':
  REPORT-106402 websocket cbb ---报表适配 【问题原因】修改包名 【改动思路】rt
newui
Leo.Qin-覃宇攀 1 year ago
parent
commit
2ca6e8698b
  1. 6
      designer-base/src/main/java/com/fr/design/login/socketio/LoginAuthServer.java

6
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<BBSAccountLogin>() {
server.addEventListener(EventHolder.build("bbsAccountLogin", BBSAccountLogin.class, new SocketDataListener<BBSAccountLogin>() {
@Override
public void onData(WebSocketClientProvider client, BBSAccountLogin data, WebSocketAckRequest ackRequest) throws Exception {
// 保存登录信息到.FineReport100配置中

Loading…
Cancel
Save