Back to index

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

nsIUnicharStreamListener is very similar to nsIStreamListener with the difference being that this interface gives notifications about data being available after the raw data has been converted to UTF-16. More...

import "nsIUnicharStreamListener.idl";

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

List of all members.

Public Member Functions

void onUnicharDataAvailable (in nsIRequest aRequest, in nsISupports aContext, in AString aData)
 Called when the next chunk of data (corresponding to the request) is available.
void onStartRequest (in nsIRequest aRequest, in nsISupports aContext)
 Called to signify the beginning of an asynchronous request.
void onStopRequest (in nsIRequest aRequest, in nsISupports aContext, in nsresult aStatusCode)
 Called to signify the end of an asynchronous request.

Detailed Description

nsIUnicharStreamListener is very similar to nsIStreamListener with the difference being that this interface gives notifications about data being available after the raw data has been converted to UTF-16.

nsIUnicharStreamListener

FROZEN

Definition at line 51 of file nsIUnicharStreamListener.idl.


Member Function Documentation

void nsIRequestObserver::onStartRequest ( in nsIRequest  aRequest,
in nsISupports  aContext 
) [inherited]

Called to signify the beginning of an asynchronous request.

Parameters:
aRequestrequest being observed
aContextuser defined context

An exception thrown from onStartRequest has the side-effect of causing the request to be canceled.

Here is the caller graph for this function:

void nsIRequestObserver::onStopRequest ( in nsIRequest  aRequest,
in nsISupports  aContext,
in nsresult  aStatusCode 
) [inherited]

Called to signify the end of an asynchronous request.

This call is always preceded by a call to onStartRequest.

Parameters:
aRequestrequest being observed
aContextuser defined context
aStatusCodereason for stopping (NS_OK if completed successfully)

An exception thrown from onStopRequest is generally ignored.

Here is the caller graph for this function:

void nsIUnicharStreamListener::onUnicharDataAvailable ( in nsIRequest  aRequest,
in nsISupports  aContext,
in AString  aData 
)

Called when the next chunk of data (corresponding to the request) is available.

Parameters:
aRequestrequest corresponding to the source of the data
aContextuser defined context
aDatathe data chunk

An exception thrown from onUnicharDataAvailable has the side-effect of causing the request to be canceled.


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