@mozilla.org/network/load-group;1
This component implements the following interfaces:
Constants
Properties
readonly PRUint32 nsILoadGroup.activeCount
Returns the count of "active" requests (ie. requests without the LOAD_BACKGROUND bit set).
nsIRequest nsILoadGroup.defaultLoadRequest
Accesses the default load request for the group. Each time a number of requests are added to a group, the defaultLoadRequest may be set to indicate that all of the requests are related to a base request.
The load group inherits its load flags from the default load request. If the default load request is NULL, then the group's load flags are not changed.
nsIRequestObserver nsILoadGroup.groupObserver
The group observer is notified when requests are added to and removed from this load group. The groupObserver is weak referenced.
nsLoadFlags nsIRequest.loadFlags
The load flags of this request. Bits 0-15 are reserved.
When added to a load group, this request's load flags are merged with the load flags of the load group.
nsILoadGroup nsIRequest.loadGroup
The load group of this request. While pending, the request is a member of the load group. It is the responsibility of the request to implement this policy.
readonly AUTF8String nsIRequest.name
The name of the request. Often this is the URI of the request.
nsIInterfaceRequestor nsILoadGroup.notificationCallbacks
Notification callbacks for the load group.
readonly nsISimpleEnumerator nsILoadGroup.requests
Returns the requests contained directly in this group. Enumerator element type: nsIRequest.
readonly nsresult nsIRequest.status
The error status associated with the request.
Methods
| Interface | Method |
|---|---|
| nsILoadGroup |
void addRequest ( nsIRequest request , nsISupports context )
|
| nsIRequest |
void cancel ( nsresult status )
|
| nsISupportsWeakReference |
nsIWeakReference GetWeakReference ( )
|
| nsIRequest |
PRBool isPending ( )
|
| nsILoadGroup |
void removeRequest ( nsIRequest request , nsISupports context , nsresult status )
|
| nsIRequest |
void resume ( )
|
| nsIRequest |
void suspend ( )
|
Reference documentation is generated from Mozilla's source.
