use of org.bigbluebutton.common.messages.UserEjectedFromMeetingMessage in project bigbluebutton by bigbluebutton.
the class UserClientMessageSender method processUserEjectedFromMeetingMessage.
private void processUserEjectedFromMeetingMessage(String message) {
UserEjectedFromMeetingMessage msg = UserEjectedFromMeetingMessage.fromJson(message);
if (msg != null) {
Map<String, Object> args = new HashMap<String, Object>();
args.put("ejectedBy", msg.ejectedBy);
System.out.println("**** User [" + msg.userId + "] was ejected by [" + msg.ejectedBy + "]");
DirectClientMessage m = new DirectClientMessage(msg.meetingId, msg.userId, "userEjectedFromMeeting", args);
service.sendMessage(m);
}
}
Aggregations