Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes
nsAbLDAPReplicationService Class Reference

#include <nsAbLDAPReplicationService.h>

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

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSIABLDAPREPLICATIONSERVICE 
nsAbLDAPReplicationService ()
virtual ~nsAbLDAPReplicationService ()
PRInt32 DecideProtocol ()
void startReplication (in ACString aPrefName, in nsIWebProgressListener progressListener)
 Start Replication of given LDAP directory represented by the URI.
void cancelReplication (in ACString aPrefName)
 Cancel Replication of given LDAP directory represented by the URI.
void done (in boolean aSuccess)
 callback when replication is done, failure or success

Protected Attributes

nsCOMPtr
< nsIAbLDAPReplicationQuery
mQuery
PRBool mReplicating
nsCString mPrefName

Detailed Description

Definition at line 46 of file nsAbLDAPReplicationService.h.


Constructor & Destructor Documentation

Definition at line 51 of file nsAbLDAPReplicationService.cpp.

Definition at line 56 of file nsAbLDAPReplicationService.cpp.

{
}

Member Function Documentation

void nsIAbLDAPReplicationService::cancelReplication ( in ACString  aPrefName) [inherited]

Cancel Replication of given LDAP directory represented by the URI.

Definition at line 143 of file nsAbLDAPReplicationService.cpp.

{
  // do the changeLog, it will decide if there is a need to replicate all
  // entries or only update existing DB and will do the approprite thing.
  //
  // XXX: Bug 231965 changed this from kChangeLogProtocol to
  // kDefaultDownloadAll because of a problem with ldap replication not
  // working correctly. We need to change this back at some stage (bug 311632).
  return nsIAbLDAPProcessReplicationData::kDefaultDownloadAll;
}
void nsIAbLDAPReplicationService::done ( in boolean  aSuccess) [inherited]

callback when replication is done, failure or success

void nsIAbLDAPReplicationService::startReplication ( in ACString  aPrefName,
in nsIWebProgressListener  progressListener 
) [inherited]

Start Replication of given LDAP directory represented by the URI.


Member Data Documentation

Definition at line 60 of file nsAbLDAPReplicationService.h.

Definition at line 58 of file nsAbLDAPReplicationService.h.

Definition at line 59 of file nsAbLDAPReplicationService.h.


The documentation for this class was generated from the following files: