예제 #1
0
 public void stopCompletionPort() {
   try {
     server.close();
     log.info("游戏服务器已关闭");
   } catch (IOException e) {
     e.printStackTrace();
   }
 }
 @Override
 public void close() throws IOException {
   ac.close();
 }