diff --git a/jim-server/src/main/java/org/jim/server/ImServerStarter.java b/jim-server/src/main/java/org/jim/server/ImServerStarter.java index b8d7d7a..32518af 100644 --- a/jim-server/src/main/java/org/jim/server/ImServerStarter.java +++ b/jim-server/src/main/java/org/jim/server/ImServerStarter.java @@ -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(); + } }