nsISimpleStreamListener

A simple stream listener can be used with AsyncRead to supply data to
a output stream.

Methods

init(aSink, aObserver)

Initialize the simple stream listener.

Parameters

aSink data will be read from the channel to this output stream. Must implement writeFrom.
aObserver optional stream observer (can be NULL)