use of org.bigbluebutton.common.messages.LockLayoutMessage in project bigbluebutton by bigbluebutton.
the class UserClientMessageSender method processLockLayoutMessage.
private void processLockLayoutMessage(String message) {
LockLayoutMessage msg = LockLayoutMessage.fromJson(message);
if (msg != null) {
Map<String, Object> args = new HashMap<String, Object>();
args.put("locked", msg.locked);
args.put("setById", msg.setByUserid);
Iterator<String> usersIter = msg.users.iterator();
while (usersIter.hasNext()) {
String user = usersIter.next();
DirectClientMessage m = new DirectClientMessage(msg.meetingId, user, "layoutLocked", args);
service.sendMessage(m);
}
}
}
Aggregations