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

org.asteriskjava.manager.action.ConfbridgeMuteAction Maven / Gradle / Ivy

There is a newer version: 3.41.0
Show newest version
package org.asteriskjava.manager.action;

/**
 * The ConfbridgeMuteAction mutes a channel in a conference.
 * 
 * @author jmb
 * @version $Id$
 */
public class ConfbridgeMuteAction extends AbstractManagerAction {

    /**
     * Serializable version identifier
     */
	private static final long serialVersionUID = 1439791922666681989L;

	private String conference;
    private String channel;
    
    /**
     * Creates a new empty ConfbridgeMuteAction.
     */
	public ConfbridgeMuteAction() {
		super();
	}

    /**
     * Creates a new ConfbridgeMuteAction.
     * 
     * @param conference the conference number.
     * @param channel number of the channel in the conference.
     */
	public ConfbridgeMuteAction(String conference, String channel) {
		this.setConference(conference);
		this.setChannel(channel);
	}
	
    /**
     * Returns the name of this action, i.e. "ConfbridgeMute".
     */
	@Override
	public String getAction() {
		return "ConfbridgeMute";
	}
	
	/**
     * Sets the id of the conference.
     */	
	public void setConference(String conference) {
		this.conference = conference;
	}
	
    /**
     * Returns the id of the conference.
     */ 
	public String getConference() {
		return conference;
	}

    /**
     * Sets the number of the channel to mute.
     */
	public void setChannel(String channel) {
		this.channel = channel;
	}
	
	public String getChannel() {
		return channel;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy