public VirtualPhysicalMailbox(IClientFactory clientFactory, DirectoryDatabase database, Guid mailboxGuid, ILogger logger, bool isArchive)
 {
     this.clientFactory   = clientFactory;
     this.database        = database;
     this.logger          = logger;
     this.physicalMailbox = new Lazy <IPhysicalMailbox>(new Func <IPhysicalMailbox>(this.LoadMailboxData));
     this.Guid            = mailboxGuid;
     this.IsArchive       = isArchive;
     this.IsConsumer      = false;
 }
Ejemplo n.º 2
0
 public PhysicalDatabase(DirectoryDatabase database, IStorePort storePort, ILogger logger)
 {
     AnchorUtil.ThrowOnNullArgument(database, "database");
     AnchorUtil.ThrowOnNullArgument(storePort, "storePort");
     this.databaseLoadLock      = new object();
     this.database              = database;
     this.logger                = logger;
     this.DatabaseGuid          = database.Guid;
     this.physicalMailboxes     = new Dictionary <Guid, IPhysicalMailbox>();
     this.nonConnectedMailboxes = new List <IPhysicalMailbox>();
     this.storePort             = storePort;
 }
Ejemplo n.º 3
0
 public IEnumerable <NonConnectedMailbox> GetDisconnectedMailboxesForDatabase(DirectoryDatabase database)
 {
     yield break;
 }
Ejemplo n.º 4
0
 public IEnumerable <DirectoryMailbox> GetMailboxesForDatabase(DirectoryDatabase database)
 {
     yield break;
 }
Ejemplo n.º 5
0
 public IEnumerable <DirectoryServer> GetActivationPreferenceForDatabase(DirectoryDatabase database)
 {
     yield break;
 }
Ejemplo n.º 6
0
 public DatabaseProcessor(ILoadBalanceSettings settings, DatabaseDrainControl drainControl, ILogger logger, DirectoryDatabase database)
 {
     this.settings     = settings;
     this.drainControl = drainControl;
     this.logger       = logger;
     this.database     = database;
 }