This component implements the following interfaces:


readonly nsIInputStream nsISyncStreamListener.inputStream

Returns an input stream that when read will fetch data delivered to the sync stream listener. The nsIInputStream implementation will wait for OnDataAvailable events before returning from Read.

NOTE: Reading from the returned nsIInputStream may spin the current thread's event queue, which could result in any event being processed.


nsIInputStream PRUint32 available ( )
nsIInputStream void close ( )
nsIInputStream PRBool isNonBlocking ( )
nsIStreamListener void onDataAvailable ( nsIRequest request , nsISupports context , nsIInputStream inputStream , PRUint32 offset , PRUint32 count )
nsIRequestObserver void onStartRequest ( nsIRequest request , nsISupports context )
nsIRequestObserver void onStopRequest ( nsIRequest request , nsISupports context , nsresult statusCode )
nsIInputStream [noscript] PRUint32 read ( charPtr* buf , PRUint32 count )
nsIInputStream [noscript] PRUint32 readSegments ( nsWriteSegmentFun writer , voidPtr* closure , PRUint32 count )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com