Public Member Functions

nsILDAPMessageListener Interface Reference

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

import "nsILDAPMessageListener.idl";

List of all members.

Public Member Functions

void onLDAPMessage (in nsILDAPMessage aMessage)
 Messages received are passed back via this function.
void onLDAPInit (in nsILDAPConnection aConn, in nsresult aStatus)
 Notify the listener that the Init has completed, passing in the results from the connection initialization.

Detailed Description

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


Member Function Documentation

void nsILDAPMessageListener::onLDAPInit ( in nsILDAPConnection  aConn,
in nsresult  aStatus 
)

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.

  • aConn The LDAP connection in question
  • aStatus The result from the LDAP connection init
void nsILDAPMessageListener::onLDAPMessage ( in nsILDAPMessage  aMessage  ) 

Messages received are passed back via this function.

  • aMessage The message that was returned, NULL if none was.

XXX semantics of NULL?


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