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

javax.media.CachingControlEvent Maven / Gradle / Ivy

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

/**
 * Standard JMF class -- see this class in the JMF Javadoc. Complete.
 *
 * @author Ken Larson
 *
 */
public class CachingControlEvent extends ControllerEvent
{
    CachingControl cachingControl;
    long progress;

    public CachingControlEvent(Controller from, CachingControl cachingControl,
            long progress)
    {
        super(from);
        this.cachingControl = cachingControl;
        this.progress = progress;

    }

    public CachingControl getCachingControl()
    {
        return cachingControl;
    }

    public long getContentProgress()
    {
        return progress;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy