Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  nsIMockNetworkLayerController.idl

  Sprache: C
 

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

interface nsINetAddr;

[scriptable, builtinclass, uuid(8ef68853-dbea-4113-9dce-273b45d431c5)]
interface nsIMockNetworkLayerController : nsISupports
{

  nsINetAddr createScriptableNetAddr(in AUTF8String aIP, in uint16_t aPort);

  /**
   * Adds an override for this specific NetAddr.
   */

  void addNetAddrOverride(in nsINetAddr aFrom, in nsINetAddr aTo);

  /**
   * Clears all the NetAddr overrides that were previously set.
   */

  void clearNetAddrOverrides();

  /**
   * This method causes TCP connect() to fail with PR_CONNECT_REFUSED_ERROR
   * for the given network address.
   */

  void blockTCPConnect(in nsINetAddr aAddr);

  /**
   * Removes all entries from the TCP connect blocklist.
   */

  void clearBlockedTCPConnect();

  /**
   * This method causes TCP connect() to hang indefinitely (returns
   * PR_IN_PROGRESS_ERROR without actually connecting) for the given address.
   */

  void pauseTCPConnect(in nsINetAddr aAddr);

  /**
   * Removes all entries from the TCP connect pause list.
   */

  void clearPausedTCPConnect();

  /**
   * This method prevents any UDP traffic to and from the given network address.
   */

  void blockUDPAddrIO(in nsINetAddr aAddr);

  /**
   * Removes all entries from the UDP blocklist.
   */

  void clearBlockedUDPAddr();

  /**
   * This method causes UDP sendto() to fail immediately with
   * PR_CONNECT_REFUSED_ERROR for the given network address.
   */

  void failUDPAddrIO(in nsINetAddr aAddr);

  /**
   * Removes all entries from the UDP fail list.
   */

  void clearFailedUDPAddr();
};

Messung V0.5 in Prozent
C=81 H=84 G=82

¤ Dauer der Verarbeitung: 0.4 Sekunden  ¤

*© 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

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=141584
#Domains=752002