Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  nsIBackgroundChannelRegistrar.idl

  Sprache: C
 

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

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* 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"

%{ C++
namespace mozilla {
namespace net {
class HttpBackgroundChannelParent;
class HttpChannelParent;
}
}
%}

[ptr] native HttpChannelParent(mozilla::net::HttpChannelParent);
[ptr] native HttpBackgroundChannelParent(mozilla::net::HttpBackgroundChannelParent);

/*
 * Registrar for pairing HttpChannelParent and HttpBackgroundChannelParent via
 * channel Id. HttpChannelParent::OnBackgroundParentReady and
 * HttpBackgroundChannelParent::LinkToChannel will be invoked to notify the
 * existence of associated channel object.
 */
[uuid(8acaa9b1-f0c4-4ade-baeb-39b0d4b96e5b)]
interface nsIBackgroundChannelRegistrar : nsISupports
{
  /*
   * Link the provided channel parent actor with the given channel Id.
   * callbacks will be invoked immediately when the HttpBackgroundChannelParent
   * associated with the same channel Id is found. Store the HttpChannelParent
   * until a matched linkBackgroundChannel is invoked.
   *
   * @param aKey the channel Id
   * @param aChannel the channel parent actor to be paired
   */
  [noscript,notxpcom,nostdcall] void linkHttpChannel(in uint64_t aKey,
                                                     in HttpChannelParent aChannel);

  /*
   * Link the provided background channel with the given channel Id.
   * callbacks will be invoked immediately when the HttpChannelParent associated
   * with the same channel Id is found. Store the HttpBackgroundChannelParent
   * until a matched linkHttpChannel is invoked.
   *
   * @param aKey the channel Id
   * @param aBgChannel the background channel to be paired
   */
  [noscript,notxpcom,nostdcall] void linkBackgroundChannel(in uint64_t aKey,
                                                           in HttpBackgroundChannelParent aBgChannel);

  /*
   * Delete previous stored HttpChannelParent or HttpBackgroundChannelParent
   * if no need to wait for the paired channel object, e.g. background channel
   * is destroyed before pairing is completed.
   *
   * @param aKey the channel Id
   */
  [noscript,notxpcom,nostdcall] void deleteChannel(in uint64_t aKey);

};

¤ Dauer der Verarbeitung: 0.15 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