Public Attributes

nsIIOService2 Interface Reference

nsIIOService2 extends nsIIOService with support for automatic online/offline management. More...

import "nsIIOService2.idl";

Inheritance diagram for nsIIOService2:
Collaboration diagram for nsIIOService2:

List of all members.

Public Attributes

attribute boolean manageOfflineStatus
 While this is set, IOService will monitor an nsINetworkLinkService (if available) and set its offline status to "true" whenever isLinkUp is false.

Detailed Description

nsIIOService2 extends nsIIOService with support for automatic online/offline management.


Member Data Documentation

While this is set, IOService will monitor an nsINetworkLinkService (if available) and set its offline status to "true" whenever isLinkUp is false.

Applications that want to control changes to the IOService's offline status should set this to false, watch for network:link-status-changed broadcasts, and change nsIIOService::offline as they see fit. Note that this means during application startup, IOService may be offline if there is no link, until application code runs and can turn off this management.


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