Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIXmlRpcClientListener Interface Reference

import "nsIXmlRpcClientListener.idl";

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

List of all members.

Public Member Functions

void onResult (in nsIXmlRpcClient client, in nsISupports ctxt, in nsISupports result)
 Called when XML-RPC call has succeeded.
void onFault (in nsIXmlRpcClient client, in nsISupports ctxt, in nsIXmlRpcFault fault)
 Called when the XML-RPC server returned a Fault.
void onError (in nsIXmlRpcClient client, in nsISupports ctxt, in nsresult status, in wstring errorMsg)
 Called when a transport or other error occurs.

Detailed Description

Definition at line 52 of file nsIXmlRpcClientListener.idl.


Member Function Documentation

void nsIXmlRpcClientListener::onError ( in nsIXmlRpcClient  client,
in nsISupports  ctxt,
in nsresult  status,
in wstring  errorMsg 
)

Called when a transport or other error occurs.

Parameters:
clientThe originating XML-RPC client.
contextThe context passed in to the asyncCall method.
statusThe status code of the error.
errorMsgA human readable error message.
void nsIXmlRpcClientListener::onFault ( in nsIXmlRpcClient  client,
in nsISupports  ctxt,
in nsIXmlRpcFault  fault 
)

Called when the XML-RPC server returned a Fault.

Parameters:
clientThe originating XML-RPC client.
contextThe context passed in to the asyncCall method.
faultThe XML-RPC fault as returned by the server.
void nsIXmlRpcClientListener::onResult ( in nsIXmlRpcClient  client,
in nsISupports  ctxt,
in nsISupports  result 
)

Called when XML-RPC call has succeeded.

Parameters:
clientThe originating XML-RPC client.
contextThe context passed in to the asyncCall method.
resultThe result of the XML-RPC call.

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