Bug 1526591 - Remove devtools.inspector.shapesHighlighter.enabled pref. r=rcaliman
[gecko.git] / netwerk / base / nsPISocketTransportService.idl
bloba759b6995a1b082358e110313c773411cbf86523
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/. */
7 #include "nsISocketTransportService.idl"
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.
13 [builtinclass, scriptable, uuid(18f73bf1-b35b-4b7b-aa9a-11bcbdbc389c)]
15 interface nsPISocketTransportService : nsIRoutedSocketTransportService
17 /**
18 * init/shutdown routines.
20 void init();
21 void shutdown(in bool aXpcomShutdown);
23 /**
24 * controls the TCP sender window clamp
26 readonly attribute long sendBufferSize;
28 /**
29 * Controls whether the socket transport service is offline.
30 * Setting it offline will cause non-local socket detachment.
32 attribute boolean offline;
34 /**
35 * Controls the default timeout (in seconds) for sending keepalive probes.
37 readonly attribute long keepaliveIdleTime;
39 /**
40 * Controls the default interval (in seconds) between retrying keepalive probes.
42 readonly attribute long keepaliveRetryInterval;
44 /**
45 * Controls the default retransmission count for keepalive probes.
47 readonly attribute long keepaliveProbeCount;
50 %{C++
52 * I/O activity observer topic. Sends out information about the
53 * amount of data we're sending/receiving via sockets and disk files.
55 * Activated via the "io.activity.enabled" preference.
57 #define NS_IO_ACTIVITY "io-activity"