org.asteriskjava.pbx.asterisk.wrap.actions.ConfbridgeKickAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of asterisk-java Show documentation
Show all versions of asterisk-java Show documentation
The free Java library for Asterisk PBX integration.
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;
}
}