/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
class NetworkConnectivityService : public nsINetworkConnectivityService, public nsIObserver, public nsIDNSListener, public nsIStreamListener { public:
NS_DECL_ISUPPORTS
NS_DECL_NSINETWORKCONNECTIVITYSERVICE
NS_DECL_NSIOBSERVER
NS_DECL_NSIDNSLISTENER
NS_DECL_NSISTREAMLISTENER
NS_DECL_NSIREQUESTOBSERVER
// Will be set to OK if the DNS request returned in IP of this type, // NOT_AVAILABLE if that type of resolution is not available // UNKNOWN if the check wasn't performed
Atomic<ConnectivityState, Relaxed> mDNSv4{ConnectivityState::UNKNOWN};
Atomic<ConnectivityState, Relaxed> mDNSv6{ConnectivityState::UNKNOWN};
Atomic<ConnectivityState, Relaxed> mDNS_HTTPS{ConnectivityState::UNKNOWN};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.