nsILDAPMessageListener

IID:dc721d4b-3ff2-4387-a80c-5e29545f774a
Inherits From:nsISupports

A callback interface to be implemented by any objects that want to receive results from an nsILDAPOperation (ie nsILDAPMessages) as they come in.

This interface is implemented by the following components:


Methods

void onLDAPInit ( nsILDAPConnection conn , nsresult status ) void onLDAPMessage ( nsILDAPMessage message )

void onLDAPInit ( nsILDAPConnection conn , nsresult status )

Notify the listener that the Init has completed, passing in the results from the connection initialization. The Reason for this is to allow us to do asynchronous DNS lookups, preresolving hostnames.

Arguments:
conn
status

void onLDAPMessage ( nsILDAPMessage message )

Messages received are passed back via this function.

XXX semantics of NULL?

Arguments:
message

References

This interface is the type of the following properties:

nsILDAPOperation.messageListener

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

nsILDAPConnection.init, nsILDAPOperation.init, nsILDAPService.reconnectConnection, nsILDAPService.requestConnection

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com