WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsISimpleStreamListener

IID:a9b84f6a-0824-4278-bae6-bfca0570a26e
Inherits From:nsIStreamListener

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

This interface is implemented by the following components:


Methods

void init ( nsIOutputStream sink , nsIRequestObserver observer )

void init ( nsIOutputStream sink , nsIRequestObserver observer )

Initialize the simple stream listener.

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

Reference documentation is generated from Mozilla's source.