nsIXmlRpcClientListener

IID:27e60cd8-6d63-4d87-b7d1-82c09e0c7363
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

void onError ( nsIXmlRpcClient client , nsISupports ctxt , nsresult status , PRUnichar* errorMsg ) void onFault ( nsIXmlRpcClient client , nsISupports ctxt , nsIXmlRpcFault fault ) void onResult ( nsIXmlRpcClient client , nsISupports ctxt , nsISupports result )

void onError ( nsIXmlRpcClient client , nsISupports ctxt , nsresult status , PRUnichar* errorMsg )

Called when a transport or other error occurs.

Arguments:
client: The originating XML-RPC client.
ctxt
status: The status code of the error.
errorMsg: A human readable error message.

void onFault ( nsIXmlRpcClient client , nsISupports ctxt , nsIXmlRpcFault fault )

Called when the XML-RPC server returned a Fault

Arguments:
client: The originating XML-RPC client.
ctxt
fault: The XML-RPC fault as returned by the server.

void onResult ( nsIXmlRpcClient client , nsISupports ctxt , nsISupports result )

Called when XML-RPC call has succeeded.

Arguments:
client: The originating XML-RPC client.
ctxt
result: The result of the XML-RPC call.

References

This interface is passed as an argument to the following methods:

nsIXmlRpcClient.asyncCall

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com