nsISocketProviderService.idl 699 B

123456789101112131415161718192021
  1. /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
  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 "nsISupports.idl"
  6. interface nsISocketProvider;
  7. /**
  8. * nsISocketProviderService
  9. *
  10. * Provides a mapping between a socket type and its associated socket provider
  11. * instance. One could also use the service manager directly.
  12. */
  13. [scriptable, uuid(8f8a23d0-5472-11d3-bbc8-0000861d1237)]
  14. interface nsISocketProviderService : nsISupports
  15. {
  16. nsISocketProvider getSocketProvider(in string socketType);
  17. };