Back to index

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

This observer interface is used to listen to asynchronous SQL query or update requests. More...

import "mozISqlRequestObserver.idl";

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

List of all members.

Public Member Functions

void onStartRequest (in mozISqlRequest aRequest, in nsISupports aContext)
 This method will be called when the request is started.
void onStopRequest (in mozISqlRequest aRequest, in nsISupports aContext)
 This method will be called when the request has finished.

Detailed Description

This observer interface is used to listen to asynchronous SQL query or update requests.

UNDER_REVIEW

Definition at line 49 of file mozISqlRequestObserver.idl.


Member Function Documentation

void mozISqlRequestObserver::onStartRequest ( in mozISqlRequest  aRequest,
in nsISupports  aContext 
)

This method will be called when the request is started.

Parameters:
aRequestthe request that has started
aContexta context that was supplied in the query/update call
void mozISqlRequestObserver::onStopRequest ( in mozISqlRequest  aRequest,
in nsISupports  aContext 
)

This method will be called when the request has finished.

This function will be called in both success and error cases.

Parameters:
aRequestthe request that has started
aContexta context that was supplied in the query/update call

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