0
这是我的代码。但用户= null
如何通过id获取用户并断开用户连接?如何通过ID获取用户并断开连接用户
Zone zone = (Zone)event.getParameter(SFSEventParam.ZONE);
User user = zone.getUserById(1);
this.getApi().disconnectUser(user,ClientDisconnectionReason.IDLE);