Skip to content
Snippets Groups Projects
Commit aedeb705 authored by Ghazi Triki's avatar Ghazi Triki
Browse files

Added missing class TransferUsetToMeetingCommand.java

parent 9b66cf30
No related branches found
No related tags found
No related merge requests found
/**
* BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
*
* Copyright (c) 2012 BigBlueButton Inc. and by respective authors (see below).
*
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free Software
* Foundation; either version 3.0 of the License, or (at your option) any later
* version.
*
* BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along
* with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
*
*/
package org.bigbluebutton.freeswitch.voice.freeswitch.actions;
public class TransferUsetToMeetingCommand extends FreeswitchCommand {
private final String targetRoom;
private final String participant;
private final Boolean forward;
public TransferUsetToMeetingCommand(String room, String targetRoom,
String participant, Boolean forward, String requesterId) {
super(room, requesterId);
this.targetRoom = targetRoom;
this.participant = participant;
this.forward = forward;
}
@Override
public String getCommandArgs() {
String action = "";
if (forward)
action = "conference" + SPACE + room + SPACE + "transfer" + SPACE
+ targetRoom;
else {
action = "conference" + SPACE + targetRoom + SPACE + "transfer"
+ SPACE + room;
}
return action + SPACE + participant;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment