javax.media.protocol
Class PushBufferDataSource

java.lang.Object
  |
  +--javax.media.protocol.DataSource
        |
        +--javax.media.protocol.PushBufferDataSource

public abstract class PushBufferDataSource
extends DataSource

Abstracts a data source that manages data in the form of push streams. The streams from this datasource contain Buffer objects i.e. PushBufferStreams.

See Also:
Manager, Player, DataSource, Buffer, PushBufferStream

Constructor Summary
PushBufferDataSource()
           
 
Method Summary
abstract  PushBufferStream[] getStreams()
          Get the collection of streams that this source manages.
 
Methods inherited from class javax.media.protocol.DataSource
connect, disconnect, getContentType, getLocator, initCheck, setLocator, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PushBufferDataSource

public PushBufferDataSource()
Method Detail

getStreams

public abstract PushBufferStream[] getStreams()
Get the collection of streams that this source manages. The collection of streams is entirely content dependent. The ContentDescriptor of this DataSource provides the only indication of what streams can be available on this connection.
Returns:
The collection of streams for this source.


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.