0
これは私のコードです。しかし、ユーザー= null
IDでユーザーを取得してユーザーを切断するにはどうすればいいですか?IDでユーザーを取得してユーザーを切断する方法
Zone zone = (Zone)event.getParameter(SFSEventParam.ZONE);
User user = zone.getUserById(1);
this.getApi().disconnectUser(user,ClientDisconnectionReason.IDLE);