tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nsPISocketTransportService.idl (1442B)


      1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* vim:set ts=2 sw=2 sts=2 et cindent: */
      3 /* This Source Code Form is subject to the terms of the Mozilla Public
      4 * License, v. 2.0. If a copy of the MPL was not distributed with this
      5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      6 
      7 #include "nsISocketTransportService.idl"
      8 
      9 /**
     10 * This is a private interface used by the internals of the networking library.
     11 * It will never be frozen.  Do not use it in external code.
     12 */
     13 [builtinclass, scriptable, uuid(18f73bf1-b35b-4b7b-aa9a-11bcbdbc389c)]
     14 interface nsPISocketTransportService : nsIRoutedSocketTransportService
     15 {
     16  /**
     17   * init/shutdown routines.
     18   */
     19  void init();
     20  void shutdown(in boolean aXpcomShutdown);
     21 
     22  /**
     23   * controls the TCP sender window clamp
     24   */
     25  readonly attribute long sendBufferSize;
     26 
     27  /**
     28   * Controls whether the socket transport service is offline.
     29   * Setting it offline will cause non-local socket detachment.
     30   */
     31  attribute boolean offline;
     32 
     33  /**
     34   * Controls the default timeout (in seconds) for sending keepalive probes.
     35   */
     36  readonly attribute long keepaliveIdleTime;
     37 
     38  /**
     39   * Controls the default interval (in seconds) between retrying keepalive probes.
     40   */
     41  readonly attribute long keepaliveRetryInterval;
     42 
     43  /**
     44   * Controls the default retransmission count for keepalive probes.
     45   */
     46  readonly attribute long keepaliveProbeCount;
     47 };