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

javax.media.rtp.event.ApplicationEvent Maven / Gradle / Ivy

There is a newer version: 1.0.2-jitsi
Show newest version
package javax.media.rtp.event;

import javax.media.rtp.*;

/**
 * Standard JMF class -- see this class in the JMF Javadoc. Complete.
 *
 * @author Ken Larson
 *
 */
public class ApplicationEvent extends ReceiveStreamEvent
{
    private int appSubtype;

    private String appString;

    private byte[] appData;

    public ApplicationEvent(SessionManager from, Participant participant,
            ReceiveStream recvStream, int appSubtype, String appString,
            byte[] appData)
    {
        super(from, recvStream, participant);
        this.appSubtype = appSubtype;
        this.appString = appString;
        this.appData = appData;
    }

    public byte[] getAppData()
    {
        return appData;
    }

    public String getAppString()
    {
        return appString;
    }

    public int getAppSubType()
    {
        return appSubtype;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy