Examples of PopulateRoomCommand


Examples of org.bigbluebutton.webconference.voice.freeswitch.actions.PopulateRoomCommand

    }
  }
   
  @Override
  public void populateRoom(String room) {   
    PopulateRoomCommand prc = new PopulateRoomCommand(room, USER);
     queueMessage(prc);
  }
View Full Code Here

Examples of org.bigbluebutton.webconference.voice.freeswitch.actions.PopulateRoomCommand

  private void sendMessageToFreeswitch(final FreeswitchCommand command) {
    Runnable task = new Runnable() {
      public void run() {
        if (command instanceof PopulateRoomCommand) {
          PopulateRoomCommand cmd = (PopulateRoomCommand) command;
          log.debug("Sending PopulateRoomCommand for conference = [" + cmd.getRoom() + "]");
          manager.getUsers(cmd);
        } else if (command instanceof MuteParticipantCommand) {
          MuteParticipantCommand cmd = (MuteParticipantCommand) command;
          log.debug("Sending MuteParticipantCommand for conference = [" + cmd.getRoom() + "]");
          System.out.println("Sending MuteParticipantCommand for conference = [" + cmd.getRoom() + "]");
          manager.mute(cmd);
        } else if (command instanceof EjectParticipantCommand) {
          EjectParticipantCommand cmd = (EjectParticipantCommand) command;
          log.debug("Sending EjectParticipantCommand for conference = [" + cmd.getRoom() + "]");
          manager.eject(cmd);
        } else if (command instanceof EjectAllUsersCommand) {
          EjectAllUsersCommand cmd = (EjectAllUsersCommand) command;
          log.debug("Sending EjectAllUsersCommand for conference = [" + cmd.getRoom() + "]");
          manager.ejectAll(cmd);
        } else if (command instanceof RecordConferenceCommand) {
          manager.record((RecordConferenceCommand) command);
        } else if (command instanceof BroadcastConferenceCommand) {
          manager.broadcast((BroadcastConferenceCommand) command);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.