All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.asteriskjava.pbx.asterisk.wrap.actions.ConfbridgeKickAction Maven / Gradle / Ivy

The newest version!
package org.asteriskjava.pbx.asterisk.wrap.actions;

public class ConfbridgeKickAction extends AbstractManagerAction {

    private final String channel;
    private String room;

    public ConfbridgeKickAction(final String room, String channel) {
        this.channel = channel;
        this.room = room;
    }

    @Override
    public org.asteriskjava.manager.action.ManagerAction getAJAction() {
        final org.asteriskjava.manager.action.ConfbridgeKickAction action = new org.asteriskjava.manager.action.ConfbridgeKickAction();
        action.setActionId(this.getActionId());
        action.setChannel(channel);
        action.setConference(room);

        return action;
    }

    public String getChannel() {
        return channel;
    }

    public String getRoom() {
        return room;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy