Back to index

lightning-sunbird  0.9+nobinonly
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";

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

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.

Definition at line 52 of file nsILDAPMessageListener.idl.


Member Function Documentation

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

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: