Search in sources :

Example 1 with GetCurrentLayoutReplyMessage

use of org.bigbluebutton.common.messages.GetCurrentLayoutReplyMessage in project bigbluebutton by bigbluebutton.

the class UserClientMessageSender method processGetCurrentLayoutReplyMessage.

private void processGetCurrentLayoutReplyMessage(String message) {
    GetCurrentLayoutReplyMessage msg = GetCurrentLayoutReplyMessage.fromJson(message);
    if (msg != null) {
        Map<String, Object> args = new HashMap<String, Object>();
        args.put("locked", msg.locked);
        args.put("setById", msg.setByUserid);
        args.put("layout", msg.layout);
        DirectClientMessage m = new DirectClientMessage(msg.meetingId, msg.requestedByUserid, "getCurrentLayoutResponse", args);
        service.sendMessage(m);
    }
}
Also used : HashMap(java.util.HashMap) JsonObject(com.google.gson.JsonObject) DirectClientMessage(org.bigbluebutton.red5.client.messaging.DirectClientMessage) GetCurrentLayoutReplyMessage(org.bigbluebutton.common.messages.GetCurrentLayoutReplyMessage)

Aggregations

JsonObject (com.google.gson.JsonObject)1 HashMap (java.util.HashMap)1 GetCurrentLayoutReplyMessage (org.bigbluebutton.common.messages.GetCurrentLayoutReplyMessage)1 DirectClientMessage (org.bigbluebutton.red5.client.messaging.DirectClientMessage)1