Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines
nsINetworkLinkService.idl File Reference
import "nsISupports.idl";

Go to the source code of this file.

Classes

interface  nsINetworkLinkService
 Network link status monitoring service. More...

Defines

#define NS_NETWORK_LINK_TOPIC   "network:link-status-changed"
 We send notifications through nsIObserverService with topic NS_NETWORK_LINK_TOPIC whenever one of isLinkUp or linkStatusKnown changes.
#define NS_NETWORK_LINK_DATA_UP   "up"
 isLinkUp is now true, linkStatusKnown is true.
#define NS_NETWORK_LINK_DATA_DOWN   "down"
 isLinkUp is now false, linkStatusKnown is true.
#define NS_NETWORK_LINK_DATA_UNKNOWN   "unknown"
 linkStatusKnown is now false.

Define Documentation

isLinkUp is now false, linkStatusKnown is true.

Definition at line 83 of file nsINetworkLinkService.idl.

linkStatusKnown is now false.

Definition at line 87 of file nsINetworkLinkService.idl.

isLinkUp is now true, linkStatusKnown is true.

Definition at line 79 of file nsINetworkLinkService.idl.

#define NS_NETWORK_LINK_TOPIC   "network:link-status-changed"

We send notifications through nsIObserverService with topic NS_NETWORK_LINK_TOPIC whenever one of isLinkUp or linkStatusKnown changes.

We pass one of the NS_NETWORK_LINK_DATA_ constants below as the aData parameter of the notification.

Definition at line 74 of file nsINetworkLinkService.idl.