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

javax.media.protocol.PushSourceStream Maven / Gradle / Ivy

The newest version!
package javax.media.protocol;

import java.io.*;

/**
 * Standard JMF class -- see this class in the JMF Javadoc. Complete.
 *
 * @author Ken Larson
 *
 */
public interface PushSourceStream extends SourceStream
{
    public int getMinimumTransferSize();

    /**
     * According to API: Read from the stream without blocking. Returns -1 when
     * the end of the media is reached. This implies that it can return zero if
     * there is no data available.
     */
    public int read(byte[] buffer, int offset, int length) throws IOException;

    public void setTransferHandler(SourceTransferHandler transferHandler);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy