use of org.bigbluebutton.common.messages.GetSlideInfoReplyMessage in project bigbluebutton by bigbluebutton.
the class PresentationClientMessageSender method processGetSlideInfoReply.
private void processGetSlideInfoReply(String json) {
GetSlideInfoReplyMessage msg = GetSlideInfoReplyMessage.fromJson(json);
if (msg != null) {
Map<String, Object> args = new HashMap<String, Object>();
args.put("meetingID", msg.meetingId);
args.put("xOffset", msg.xOffset);
args.put("yOffest", msg.yOffset);
args.put("widthRatio", msg.widthRatio);
args.put("heightRatio", msg.heightRatio);
Map<String, Object> message = new HashMap<String, Object>();
Gson gson = new Gson();
message.put("msg", gson.toJson(args));
DirectClientMessage m = new DirectClientMessage(msg.meetingId, msg.requesterId, "getSlideInfoReply", message);
service.sendMessage(m);
}
}
Aggregations