org.asteriskjava.pbx.internal.managerAPI.OriginateResult 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.
The newest version!
package org.asteriskjava.pbx.internal.managerAPI;
import org.asteriskjava.pbx.Channel;
public class OriginateResult {
private boolean channelHungup = false;
private boolean success = false;
private Channel newChannel = null;
private String abortReason;
OriginateResult() {
// not used
}
public String getAbortReason() {
return this.abortReason;
}
void setAbortReason(final String reason) {
this.abortReason = reason;
}
public void setChannelData(final Channel channel) {
this.newChannel = channel;
}
public Channel getChannel() {
return this.newChannel;
}
public boolean isSuccess() {
return this.success;
}
public void setSuccess(boolean success) {
this.success = success;
}
public boolean isChannelHungup() {
return this.channelHungup;
}
public void setChannelHungup(boolean channel1Hungup) {
this.channelHungup = channel1Hungup;
}
}