首页>代码>spring boot+mvc+mybatis+netty-sokey.io+html+js实现简单即时通讯聊天系统>/demo-spring-netty/src/main/java/com/xe/demo/common/netty/ServerRunner.java
package com.xe.demo.common.netty; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.stereotype.Component; import com.corundumstudio.socketio.SocketIOServer; @Component public class ServerRunner implements CommandLineRunner { private final SocketIOServer server; @Autowired public ServerRunner(SocketIOServer server) { this.server = server; } @Override public void run(String... args) throws Exception { server.start(); } }
最近下载更多
2509878298 LV5
2月29日
百里守寡 LV5
2023年8月29日
你好啊呐 LV19
2023年8月23日
annazhang LV29
2023年2月17日
pureshyness LV6
2022年9月29日
骑着导弹让蜗牛追去 LV8
2022年1月16日
wanglinddad LV54
2021年12月30日
j1an01 LV6
2021年12月15日
a1677596408 LV23
2021年7月27日
15380502522 LV2
2021年6月30日
最近浏览更多
heweimin LV12
4月7日
3334004690 LV3
3月20日
2509878298 LV5
2月29日
阿凡达 LV9
2月29日
hanzhuohong LV1
2023年12月25日
yhwyhw1 LV2
2023年12月21日
wanfeng_233 LV4
2023年8月29日
百里守寡 LV5
2023年8月29日
你好啊呐 LV19
2023年8月23日
skiler LV4
2023年7月28日