Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsISOAPServiceRegistry Interface Reference

This interface represents a registry of SOAP services. More...

import "nsISOAPServiceRegistry.idl";

Collaboration diagram for nsISOAPServiceRegistry:
Collaboration graph
[legend]

List of all members.

Public Member Functions

boolean addConfiguration (in nsIDOMElement aConfiguration)
 Process a configuration and add the resulting sources and services.
void addSource (in AString aTransport, in boolean aCapture)
 Add a transport to be serviced by the registered services.
void addService (in nsISOAPService aService)
 Add a service to service the registered transports.

Public Attributes

attribute nsISOAPEncodingRegistry encodings
 Registry identifying how to encode and decode messages containing specific types, automatically added to messages sent to services in this registry.

Detailed Description

This interface represents a registry of SOAP services.

This registry recieves transports to listen for messages and services to hand the messages to. Service registries may be created as required. Destroying a service registry stops the registry's action. To temporarily register services, create a new registry. For proper order of listening precedence, registries should be destroyed in reverse order. Otherwise, a listening priority would be required.

Definition at line 56 of file nsISOAPServiceRegistry.idl.


Member Function Documentation

Process a configuration and add the resulting sources and services.

This will fail if errors occur during processing of the configuration.

Parameters:
aConfigurationRoot element of configuration XML.

Add a service to service the registered transports.

This will fail if the specified service was already added.

Parameters:
aServiceService to be serviced.
void nsISOAPServiceRegistry::addSource ( in AString  aTransport,
in boolean  aCapture 
)

Add a transport to be serviced by the registered services.

This will fail if the specified source was already added with the same setting of the capture flag.

Parameters:
aTransportstring specifying the transport to supply messages for the service.
aCaptureTrue if capturing before later declarations

Member Data Documentation

Registry identifying how to encode and decode messages containing specific types, automatically added to messages sent to services in this registry.

Definition at line 92 of file nsISOAPServiceRegistry.idl.


The documentation for this interface was generated from the following file: