ChatService ret=null;
if(service.containsKey(name))
{
ChatService s=(ChatService)service.get(name);
s.stop();
service.remove(name);
}
if(service.size(){
ret=new ChatService();
service.put(name,ret);
}
return ret;
}
/**
* 停止某个会议室
* @param name 会议室ID
* @return
*/
public static boolean close(String name)
文章来源于领测软件测试网 https://www.ltesting.net/