增加server端关闭服务close方法

This commit is contained in:
wangchao 2018-05-09 10:07:24 +08:00
parent f944c5da33
commit ff70734baa

View File

@ -55,4 +55,8 @@ public class ImServerStarter {
public void start() throws IOException {
aioServer.start(this.imConfig.getBindIp(),this.imConfig.getBindPort());
}
public void stop(){
aioServer.stop();
}
}