Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-927 (Maintenance Release)

javax.media.protocol
Class PushDataSource

java.lang.Object
  extended byjavax.media.protocol.DataSource
      extended byjavax.media.protocol.PushDataSource
All Implemented Interfaces:
Controls, Duration

public abstract class PushDataSource
extends DataSource

Abstracts a data source that manages PushDataStreams.

See Also:
Manager, Player, javax.media.DefaultPlayerFactory, DataSource

Field Summary
 
Fields inherited from interface javax.media.Duration
DURATION_UNBOUNDED, DURATION_UNKNOWN
 
Constructor Summary
PushDataSource()
           
 
Method Summary
abstract  PushSourceStream[] 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
 
Methods inherited from interface javax.media.protocol.Controls
getControl, getControls
 
Methods inherited from interface javax.media.Duration
getDuration
 

Constructor Detail

PushDataSource

public PushDataSource()
Method Detail

getStreams

public abstract PushSourceStream[] 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.

JSR-927 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 927 specification.