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

net.sourceforge.peers.rtp.DtmfRtpPacket Maven / Gradle / Ivy

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 - 2024 Weber Informatics LLC | Privacy Policy