xiaoyong931011
2022-05-31 a69b31c6d942b816e1e48e9dc017a6f52bd23ae4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.xcong.farmer.cms.netty.logic.impl;
 
import com.xcong.farmer.cms.netty.bean.RequestBean;
import com.xcong.farmer.cms.netty.logic.MsgLogic;
import com.xcong.farmer.cms.netty.logic.WebSocketLogic;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
 
 
/**
 * @author wzy
 * @date 2019-05-09
 */
@Component
public class MsgLogicImpl implements MsgLogic {
 
    @Autowired
    private WebSocketLogic webSocketLogic;
 
    @Override
    public void webSocketMsgLogic(RequestBean requestBean) {
//        switch (requestBean.getType()) {
//            case Contans.WEB_REQ_CONNECTION :
//                webSocketLogic.webReqConnection(requestBean);
//                break;
//            case Contans.HOME_SYMBOLS:
//                webSocketLogic.reqHomeSymbols(requestBean);
//            default:
//                webSocketLogic.defaultReq(requestBean);
//                break;
//        }
    }
 
 
}