javax.media.protocol
Interface PushSourceStream
- All Superinterfaces:
- Controls, SourceStream
- All Known Implementing Classes:
- InputStreamPushSourceStream, SimpleSocketInputStream, SocketInputStream
public interface PushSourceStream
- extends SourceStream
Standard JMF class -- see this class in the JMF Javadoc.
Complete.
- Author:
- Ken Larson
read
int read(byte[] buffer,
int offset,
int length)
throws java.io.IOException
- 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.
- Throws:
java.io.IOException
getMinimumTransferSize
int getMinimumTransferSize()
setTransferHandler
void setTransferHandler(SourceTransferHandler transferHandler)