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

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

package javax.media.rtp.event;

import javax.media.*;
import javax.media.rtp.*;

/**
 * Standard JMF class -- see this class in the JMF Javadoc. Complete.
 *
 * @author Ken Larson
 *
 */
public class RTPEvent extends MediaEvent
{
    private SessionManager eventSrc;

    public RTPEvent(SessionManager from)
    {
        super(from);
        this.eventSrc = from;
    }

    public SessionManager getSessionManager()
    {
        return eventSrc;
    }

    @Override
    public Object getSource()
    {
        return eventSrc;
    }

    @Override
    public String toString()
    {
        return getClass().getName() + "[source = " + eventSrc + "]";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy