public abstract class AbstractPushBufferStream<T extends javax.media.protocol.PushBufferDataSource> extends AbstractBufferStream<T> implements javax.media.protocol.PushBufferStream
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PUSH_BUFFER_STREAM_CLASS_NAME
The name of the PushBufferStream class.
|
protected javax.media.protocol.BufferTransferHandler |
transferHandler
The BufferTransferHandler which is notified by this
PushBufferStream when data is available for reading.
|
dataSource, formatControl
Modifier | Constructor and Description |
---|---|
protected |
AbstractPushBufferStream(T dataSource,
javax.media.control.FormatControl formatControl)
Initializes a new AbstractPushBufferStream instance which is to
have its Format-related information abstracted by a specific
FormatControl.
|
Modifier and Type | Method and Description |
---|---|
void |
setTransferHandler(javax.media.protocol.BufferTransferHandler transferHandler)
Sets the BufferTransferHandler which is to be notified by this
PushBufferStream when data is available for reading.
|
close, doGetFormat, doSetFormat, endOfStream, getContentDescriptor, getContentLength, getControls, getFormat, internalGetFormat, internalSetFormat, start, stop
getControl, getControl, queryInterface, queryInterface
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final java.lang.String PUSH_BUFFER_STREAM_CLASS_NAME
protected javax.media.protocol.BufferTransferHandler transferHandler
protected AbstractPushBufferStream(T dataSource, javax.media.control.FormatControl formatControl)
dataSource
- the PushBufferDataSource which is creating the
new instance so that it becomes one of its streamsformatControl
- the FormatControl which is to abstract the
Format-related information of the new instancepublic void setTransferHandler(javax.media.protocol.BufferTransferHandler transferHandler)
setTransferHandler
in interface javax.media.protocol.PushBufferStream
transferHandler
- the BufferTransferHandler which is to be
notified by this PushBufferStream when data is available for
reading
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.