Backed out changeset 2450366cf7ca (bug 1891629) for causing win msix mochitest failures
[gecko.git] / dom / network / PTCPServerSocket.ipdl
blob8370cf945c5bd2a1d689b4d56c73b802968afab0
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set sw=2 ts=8 et tw=80 ft=cpp : */
4 /* This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 include protocol PNecko;
9 include protocol PTCPSocket;
11 include "mozilla/net/NeckoMessageUtils.h";
12 include "mozilla/dom/network/TCPServerSocketParent.h";
13 include "mozilla/dom/network/TCPServerSocketChild.h";
15 namespace mozilla {
16 namespace net {
18 //-------------------------------------------------------------------
19 [ManualDealloc, ChildImpl="mozilla::dom::TCPServerSocketChild", ParentImpl="mozilla::dom::TCPServerSocketParent"]
20 protocol PTCPServerSocket
22   manager PNecko;
24 parent:
25   async Close();
26   async RequestDelete();
28 child:
29   async CallbackAccept(PTCPSocket socket);
30   async __delete__();
33 } // namespace net
34 } // namespace mozilla