Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIUnicharStreamLoaderObserver Interface Reference

import "nsIUnicharStreamLoader.idl";

Inheritance diagram for nsIUnicharStreamLoaderObserver:
Inheritance graph
[legend]
Collaboration diagram for nsIUnicharStreamLoaderObserver:
Collaboration graph
[legend]

List of all members.

Public Member Functions

ACString onDetermineCharset (in nsIUnicharStreamLoader aLoader, in nsISupports aContext,[size_is(aLength)] in string aFirstSegment, in unsigned long aLength)
 Called when the first full segment of data if available.
void onStreamComplete (in nsIUnicharStreamLoader aLoader, in nsISupports aContext, in nsresult aStatus, in nsIUnicharInputStream aUnicharData)
 Called when the entire stream has been loaded.

Detailed Description

Definition at line 46 of file nsIUnicharStreamLoader.idl.


Member Function Documentation

ACString nsIUnicharStreamLoaderObserver::onDetermineCharset ( in nsIUnicharStreamLoader  aLoader,
in nsISupports  aContext,
[size_is(aLength)] in string  aFirstSegment,
in unsigned long  aLength 
)

Called when the first full segment of data if available.

Parameters:
aLoaderthe unichar stream loader
aContextthe aContext parameter passed to the loader's init method
aFirstSegmentthe raw bytes of the first full data segment
aLengththe length of aFirstSegment
Returns:
charset corresponding to this stream
void nsIUnicharStreamLoaderObserver::onStreamComplete ( in nsIUnicharStreamLoader  aLoader,
in nsISupports  aContext,
in nsresult  aStatus,
in nsIUnicharInputStream  aUnicharData 
)

Called when the entire stream has been loaded.

Parameters:
aLoaderthe unichar stream loader
aContextthe aContext parameter passed to the loader's init method
aStatusthe status of the underlying channel
aUnicharDatathe unichar input stream containing the data. This can be null in some failure conditions.

The documentation for this interface was generated from the following file: