EndOfStreamEventpublic 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 . |
Constructors Summary |
---|
public EndOfStreamEvent(DataSink from)
super(from);
| public EndOfStreamEvent(DataSink from, String reason)
super(from, reason);
|
|