Interface nsINetworkLinkServiceType

Network link status monitoring service.

Hierarchy

Properties

isLinkUp: boolean

This is set to true when the system is believed to have a usable network connection.

The link is only up when network connections can be established. For example, the link is down during DHCP configuration (unless there is another usable interface already configured).

If the link status is not currently known, we generally assume that it is up.

linkStatusKnown: boolean

This is set to true when we believe that isLinkUp is accurate.

linkType: number

The type of network connection.

networkID: string

A string uniquely identifying the current active network interfaces. Empty when there are no active network interfaces.

platformDNSIndications: number

A bitfield that encodes the platform attributes we detected which indicate that we should only use DNS, not TRR.

Methods

  • 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.

    Returns number

  • Parameters

    • aIID: object
    • Optional aInstancePtr: object

    Returns any

  • A run time mechanism for interface discovery.

    Returns

    NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.

    aInstancePtr must not be null.

    Parameters

    • aIID: object

      [in] A requested interface IID

    • aInstancePtr: object

      [out] A pointer to an interface pointer to receive the result.

    Returns void

  • Decreases the reference count for this interface. Generally, if the reference count returns to zero, the associated instance is deleted.

    Returns

    The resulting reference count.

    Returns number

Generated using TypeDoc