
net.sourceforge.peers.rtp.DtmfRtpPacket Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of phone Show documentation
Show all versions of phone Show documentation
This Java SoftPhone base on Peers
package net.sourceforge.peers.rtp;
public class DtmfRtpPacket extends RtpPacket {
/**
* The previous DtmfRtpPacket for the same DTMF event.
*/
private DtmfRtpPacket previousDtmfRtpPacket;
public DtmfRtpPacket() {
super();
}
public DtmfRtpPacket(DtmfRtpPacket previousDtmfRtpPacket) {
super();
this.previousDtmfRtpPacket = previousDtmfRtpPacket;
}
public DtmfRtpPacket getPreviousDtmfRtpPacket() {
return previousDtmfRtpPacket;
}
public void setPreviousDtmfRtpPacket(DtmfRtpPacket previousDtmfRtpPacket) {
this.previousDtmfRtpPacket = previousDtmfRtpPacket;
}
public String toString() {
return "type[" + this.getPayloadType() + "],timestamp[" + this.getTimestamp() + "],data[" + this.getData()[0]
+ "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy