Class PullBufferDataSourceDelegate<T extends javax.media.protocol.DataSource>

  • Type Parameters:
    T - the very type of DataSource to be wrapped in a PullBufferDataSourceDelegate
    All Implemented Interfaces:
    javax.media.Controls, javax.media.Duration, javax.media.protocol.CaptureDevice, javax.media.protocol.Controls
    Direct Known Subclasses:
    RewritablePullBufferDataSource

    public abstract class PullBufferDataSourceDelegate<T extends javax.media.protocol.DataSource>
    extends CaptureDeviceDelegatePullBufferDataSource
    Implements most of PullBufferDataSource for a particular DataSource and requires extenders to only implement PullBufferDataSource.getStreams(). Intended to allow easier overriding of the streams returned by a DataSource.
    Author:
    Damian Minkov
    • Field Detail

      • dataSource

        protected final T extends javax.media.protocol.DataSource dataSource
        The wrapped DataSource this instance delegates to.
    • Constructor Detail

      • PullBufferDataSourceDelegate

        public PullBufferDataSourceDelegate​(T dataSource)
        Initializes a new PullBufferDataSourceDelegate which is to delegate to a specific DataSource.
        Parameters:
        dataSource - the DataSource the new instance is to delegate to