Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsHTTPSSOAPTransport Class Reference

#include <nsHTTPSOAPTransport.h>

Inheritance diagram for nsHTTPSSOAPTransport:
Inheritance graph
[legend]
Collaboration diagram for nsHTTPSSOAPTransport:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsHTTPSSOAPTransport ()
virtual ~nsHTTPSSOAPTransport ()
void syncCall (in nsISOAPCall aCall, in nsISOAPResponse aResponse)
 Send the specified message to the specified destination.
nsISOAPCallCompletion asyncCall (in nsISOAPCall aCall, in nsISOAPResponseListener aListener, in nsISOAPResponse aResponse)
 Send the specified message to the specified destination synchronously waiting for completion and any response.
void addListener (in nsISOAPTransportListener aListener, in boolean aCapture)
 Add listener for unsolicited messages arriving on the transport.
void removeListener (in nsISOAPTransportListener aListener, in boolean aCapture)
 Remove listener for unsolicited messages arriving on the transport.

Detailed Description

Definition at line 64 of file nsHTTPSOAPTransport.h.


Constructor & Destructor Documentation

Definition at line 623 of file nsHTTPSOAPTransport.cpp.

{
}

Definition at line 627 of file nsHTTPSOAPTransport.cpp.

{
}

Member Function Documentation

void nsISOAPTransport::addListener ( in nsISOAPTransportListener  aListener,
in boolean  aCapture 
) [inherited]

Add listener for unsolicited messages arriving on the transport.

Listeners are provided with the opportunity to accept and process messages. Typically a listener will be a service dispatcher. Listeners will be invoked in the reverse order of declaration, allowing more local service dispatchers to temporarily override permanent service dispatchers. This will fail if the desired listener was already added to the transport with the specified capture flag or if the transport does not support incoming messages.

Parameters:
aListenerThe listener to recieve unsolicited messages from the transport.
aCaptureTrue if the listener should capture the message before later-declared services.

Send the specified message to the specified destination synchronously waiting for completion and any response.

This will fail if there is any failure in the setup of the message exchange. Later errors will only be known through the response listener. Failures of the call itself will be contained in the response passed to the response listener.

Parameters:
aCallActual message to be sent.
aListenerHandler to be invoked (single threaded) as each response is received and finally with null. If specified as null, no responses are returned.
responseMessage to recieve response and be handled by listener. May be null if listener is null.
void nsISOAPTransport::removeListener ( in nsISOAPTransportListener  aListener,
in boolean  aCapture 
) [inherited]

Remove listener for unsolicited messages arriving on the transport.

This will fail if the specified listener was not added with the specified capture setting.

Parameters:
aListenerThe listener to stop from recieving unsolicited messages from the transport.
aCaptureTrue if the listener was added to capture the message before later-declared services (must be specified to remove, since a listener may be registered as both).
void nsISOAPTransport::syncCall ( in nsISOAPCall  aCall,
in nsISOAPResponse  aResponse 
) [inherited]

Send the specified message to the specified destination.

This will fail if synchronous calls are not supported or if there is any failure in the actual message exchange. Failure of the call itself will be contained in the response.

Parameters:
aCallActual message to be sent.
aResponseMessage to be recieved. Calling synchronously assumes that exactly one response is expected.

The documentation for this class was generated from the following files: