javax.media.Controller Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fmj Show documentation
Show all versions of fmj Show documentation
Freedom for Media in Java
package javax.media;
/**
* Standard JMF class -- see this class in the JMF Javadoc. Complete.
*
* @author Ken Larson
*
*/
public interface Controller extends Clock, Duration
{
public static final Time LATENCY_UNKNOWN = new Time(Long.MAX_VALUE);
public static final int Prefetched = 500;
public static final int Prefetching = 400;
public static final int Realized = 300;
public static final int Realizing = 200;
public static final int Started = 600;
public static final int Unrealized = 100;
public void addControllerListener(ControllerListener listener);
public void close();
public void deallocate();
public Control getControl(String forName);
public Control[] getControls();
public Time getStartLatency();
public int getState();
public int getTargetState();
public void prefetch();
public void realize();
public void removeControllerListener(ControllerListener listener);
}