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.
@mozilla.org/network/sync-stream-listener;1
This component implements the following interfaces:
Properties
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.
Methods
| Interface | Method |
|---|---|
| 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.
