Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Callback giving actual result of asyncOpenURI. It may give consumer the cache entry or a failure result when it's not possible to open it from some reason. This callback is ensured to be called on the same thread on which asyncOpenURI has been called.
IMPORTANT NOTE: This callback may be invoked sooner then respective asyncOpenURI call exits.
The entry bound to the originally requested URI.
Whether no data so far has been stored for this entry, i.e. reading it will just fail. When aNew is true, a server request should be made and data stored to this new entry.
Result of the request. This may be a failure only when one of these issues occur:
Callback to perform any validity checks before the entry should be used. Called before onCacheEntryAvailable callback, depending on the result it may be called more then one time.
This callback is ensured to be called on the same thread on which asyncOpenURI has been called, unless nsICacheStorage.CHECK_MULTITHREADED flag has been specified. In that case this callback can be invoked on any thread, usually it is the cache I/O or cache management thread.
IMPORTANT NOTE: This callback may be invoked sooner then respective asyncOpenURI call exits.
State of the entry, see the constants just above.
An entry to examine. Consumer has a chance to decide whether the entry is valid or not.
Generated using TypeDoc
Increases the reference count for this interface. The associated instance will not be deleted unless the reference count is returned to zero.
Returns
The resulting reference count.