javax.media.protocol
Interface BufferTransferHandler
- public interface BufferTransferHandler
Implements the callback from a PushBufferStream.
A PushBufferStream needs to notify the data handler
when data is available to be pushed. When the handler connects to
a PushBufferStream it should register a BufferTransferHandler
object with the stream using the setTransferHandler method.
- Since:
- JMF 2.0
- See Also:
PushBufferStream.setTransferHandler(javax.media.protocol.BufferTransferHandler)
|
Method Summary |
void |
transferData(PushBufferStream stream)
Notification from the PushBufferStream to the
handler that data is available to be read from stream. |
transferData
public void transferData(PushBufferStream stream)
- Notification from the
PushBufferStream to the
handler that data is available to be read from stream.
The data can be read by this handler in the same thread or can be
read later.
- Parameters:
stream - The stream that is providing the data.