Class EndOfStreamEvent


public class EndOfStreamEvent
extends DataSinkEvent

EndOfStreamEvent indicates that the DataSource connected to the DataSink has flagged and end-of-stream. The application can now assume that no more data is expected from the DataSource and can close the DataSink. These events are used by DataSinkListener.

JMF 2.0
See Also:
DataSink, DataSinkListener, MediaEvent, Serialized Form

Fields inherited from class java.util.EventObject
Constructor Summary
EndOfStreamEvent(DataSink from)
EndOfStreamEvent(DataSink from, java.lang.String reason)
Methods inherited from class
getSourceDataSink, toString
Methods inherited from class java.util.EventObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public EndOfStreamEvent(DataSink from)


public EndOfStreamEvent(DataSink from,
                        java.lang.String reason)

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.