Simplified nsILDAPMessageListener, and refactored much of the code in ldapSearch.cpp into nsLDAPChannel.cpp itself, using the simplified nsILDAPMessageListener class. This work is in preparation for pushing all threading code out of nsILDAPChannel down into nsILDAPConnection/Operation/Message. a=r=(not built)

git-svn-id: svn://10.0.0.236/trunk@72632 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dmose%mozilla.org
2000-06-20 05:12:32 +00:00
parent ee64e1da57
commit 7d0df230ae

View File

@@ -41,31 +41,9 @@
[scriptable, uuid(dc721d4b-3ff2-4387-a80c-5e29545f774a)]
interface nsILDAPMessageListener : nsISupports
{
// when ldap_result() returns, one of these routines is called, depending
// on the return value
// return value = LDAP_RES_SEARCH_ENTRY
//
void onLDAPSearchEntry(in nsILDAPMessage aMessage);
// return value = LDAP_RES_SEARCH_REFERENCE
// aMessage is the message that was returned, and aRetVal is the
// return code from ldap_result()
//
void onLDAPSearchReference(in nsILDAPMessage aMessage);
// return value = LDAP_RES_SEARCH_RESULT
//
void onLDAPSearchResult(in nsILDAPMessage aMessage);
// return value of -1
//
// XXX should have an arg?
//
void onLDAPError();
// return value of 0
//
void onLDAPTimeout();
// XXX need to add other possible ldap_result return values
void onLDAPMessage(in nsILDAPMessage aMessage, in PRInt32 aRetVal);
};