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.
Submit a bug or feature
Copyright 1999-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.