Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  nsINetworkInfoService.idl

  Sprache: C
 

Spracherkennung für: .idl vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

/* 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/. */

#include "nsISupports.idl"

/**
 * Listener for getting list of addresses.
 */
[scriptable, uuid(c4bdaac1-3ab1-4fdb-9a16-17cbed794603)]
interface nsIListNetworkAddressesListener : nsISupports
{
  /**
   * Callback function that gets called by nsINetworkInfoService.listNetworkAddresses.
   * Each address in the array is a string IP address in canonical form,
   * e.g. 192.168.1.10, or an IPV6 address in string form.
   */
  void onListedNetworkAddresses(in Array<ACString> aAddressArray);
  void onListNetworkAddressesFailed();
};

/**
 * Listener for getting hostname.
 */
[scriptable, uuid(3ebdcb62-2df4-4042-8864-3fa81abd4693)]
interface nsIGetHostnameListener : nsISupports
{
  void onGotHostname(in AUTF8String aHostname);
  void onGetHostnameFailed();
};

/**
 * Service information
 */
[scriptable, uuid(55fc8dae-4a58-4e0f-a49b-901cbabae809)]
interface nsINetworkInfoService : nsISupports
{
  /**
   * Obtain a list of local machine network addresses.  The listener object's
   * onListedNetworkAddresses will be called with the obtained addresses.
   * On failure, the listener object's onListNetworkAddressesFailed() will be called.
   */
  void listNetworkAddresses(in nsIListNetworkAddressesListener aListener);

  /**
   * Obtain the hostname of the local machine.  The listener object's
   * onGotHostname will be called with the obtained hostname.
   * On failure, the listener object's onGetHostnameFailed() will be called.
   */
  void getHostname(in nsIGetHostnameListener aListener);
};

%{ C++
#define NETWORKINFOSERVICE_CONTRACT_ID \
  "@mozilla.org/network-info-service;1"
%}

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet am  2026-06-05) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

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 und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik