PTCPServerSocket.ipdl (976B)
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 : */ 3 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/. */ 7 8 include protocol PNecko; 9 include protocol PTCPSocket; 10 11 include "mozilla/net/NeckoMessageUtils.h"; 12 include "mozilla/dom/network/TCPServerSocketParent.h"; 13 include "mozilla/dom/network/TCPServerSocketChild.h"; 14 15 namespace mozilla { 16 namespace net { 17 18 //------------------------------------------------------------------- 19 [ManualDealloc, ChildImpl="mozilla::dom::TCPServerSocketChild", ParentImpl="mozilla::dom::TCPServerSocketParent"] 20 protocol PTCPServerSocket 21 { 22 manager PNecko; 23 24 parent: 25 async Close(); 26 async RequestDelete(); 27 28 child: 29 async CallbackAccept(PTCPSocket socket); 30 async __delete__(); 31 }; 32 33 } // namespace net 34 } // namespace mozilla 35