nsIUnicharStreamLoaderObserver
| IID: | 6bb3e55b-69c0-4fc9-87e5-bed780d997ce |
| Inherits From: | nsISupports |
Methods
ACString onDetermineCharset ( nsIUnicharStreamLoader loader , nsISupports context , char* firstSegment , PRUint32 length )
void onStreamComplete ( nsIUnicharStreamLoader loader , nsISupports context , nsresult status , nsIUnicharInputStream unicharData )
ACString onDetermineCharset ( nsIUnicharStreamLoader loader , nsISupports context , char* firstSegment , PRUint32 length )
Called when the first full segment of data if available.
- Arguments:
- loader: the unichar stream loader
- context: the context parameter of the underlying channel
- firstSegment: the raw bytes of the first full data segment
- length: the length of firstSegment
- Returns:
- charset corresponding to this stream
void onStreamComplete ( nsIUnicharStreamLoader loader , nsISupports context , nsresult status , nsIUnicharInputStream unicharData )
Called when the entire stream has been loaded.
This method will always be called asynchronously by the nsUnicharIStreamLoader involved, on the thread that called the loader's init() method.
- Arguments:
- loader: the unichar stream loader
- context: the context parameter of the underlying channel
- status: the status of the underlying channel
- unicharData: the unichar input stream containing the data. This can be null in some failure conditions.
References
This interface is passed as an argument to the following methods:
Reference documentation is generated from Mozilla's source.
