PTCPServerSocket.ipdl 710 B

1234567891011121314151617181920212223242526272829303132
  1. /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. include protocol PNecko;
  6. include protocol PTCPSocket;
  7. include "mozilla/net/NeckoMessageUtils.h";
  8. namespace mozilla {
  9. namespace net {
  10. //-------------------------------------------------------------------
  11. protocol PTCPServerSocket
  12. {
  13. manager PNecko;
  14. parent:
  15. async Close();
  16. async RequestDelete();
  17. child:
  18. async CallbackAccept(PTCPSocket socket);
  19. async __delete__();
  20. };
  21. } // namespace net
  22. } // namespace mozilla