关注粉丝列表
This commit is contained in:
@@ -2,8 +2,10 @@ package com.dd.admin;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.tio.websocket.starter.EnableTioWebSocketServer;
|
||||
|
||||
@SpringBootApplication
|
||||
@EnableTioWebSocketServer
|
||||
public class AdminApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
@@ -0,0 +1,13 @@
|
||||
package com.dd.admin.business.webSocket;
|
||||
|
||||
import org.tio.core.ChannelContext;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 处理消息的抽象接口
|
||||
* @Author: 王旭磊
|
||||
*/
|
||||
public interface MsgHandlerInterface {
|
||||
Object handler(Map map, ChannelContext context);
|
||||
}
|
@@ -0,0 +1 @@
|
||||
package com.dd.admin.business.webSocket;
|
@@ -0,0 +1 @@
|
||||
package com.dd.admin.business.webSocket.controller;
|
@@ -0,0 +1 @@
|
||||
package com.dd.admin.business.webSocket.handler;
|
@@ -0,0 +1 @@
|
||||
package com.dd.admin.business.webSocket.handler;
|
@@ -0,0 +1 @@
|
||||
package com.dd.admin.business.webSocket.handler;
|
@@ -0,0 +1 @@
|
||||
package com.dd.admin.business.webSocket.handler;
|
@@ -0,0 +1 @@
|
||||
package com.dd.admin.business.webSocket.util;
|
Reference in New Issue
Block a user