public StoreDriverSubmission(IStoreDriverTracer storeDriverTracer) { ArgumentValidator.ThrowIfNull("storeDriverTracer", storeDriverTracer); this.storeDriverTracer = storeDriverTracer; ExTraceGlobals.FaultInjectionTracer.RegisterExceptionInjectionCallback(new ExceptionInjectionCallback(StoreDriverSubmission.FaultInjectionCallback)); ResourceHealthMonitorManager.Initialize(ResourceHealthComponent.Transport); }
public RegistryCrashRepository(string poisonRegistryEntryLocation, IStoreDriverTracer storeDriverTracer) { ArgumentValidator.ThrowIfNullOrEmpty("poisonRegistryEntryLocation", poisonRegistryEntryLocation); ArgumentValidator.ThrowIfNull("storeDriverTracer", storeDriverTracer); this.poisonRegistryEntryLocation = poisonRegistryEntryLocation; this.storeDriverTracer = storeDriverTracer; }
public SubmissionItemBase(string mailProtocol, IStoreDriverTracer storeDriverTracer) { this.conversionOptions = ConfigurationProvider.GetGlobalConversionOptions(); this.mailProtocol = mailProtocol; this.storeDriverTracer = storeDriverTracer; try { this.localIp = Dns.GetHostEntry(Dns.GetHostName()); } catch (SocketException ex) { this.storeDriverTracer.StoreDriverCommonTracer.TraceFail <string>(this.storeDriverTracer.MessageProbeActivityId, 0L, "Unable to determine local ip {0}", ex.ToString()); throw; } }
public MapiSubmissionItem(MapiSubmissionInfo mapiSubmissionInfo, MailItemSubmitter context, IStoreDriverTracer storeDriverTracer) : base("mapi", context, mapiSubmissionInfo, storeDriverTracer) { if (mapiSubmissionInfo == null) { throw new ArgumentNullException("mapiSubmissionInfo"); } this.mapiSubmissionInfo = mapiSubmissionInfo; }
public SubmissionItem(string mailProtocol, MailItemSubmitter context, SubmissionInfo submissionInfo, IStoreDriverTracer storeDriverTracer) : base(mailProtocol, storeDriverTracer) { this.Context = context; this.Info = submissionInfo; }
public SubmissionItem(string mailProtocol, IStoreDriverTracer storeDriverTracer) : this(mailProtocol, null, null, storeDriverTracer) { }
public MapiSubmissionInfo(string serverDN, Guid mailboxGuid, byte[] entryId, byte[] parentEntryId, long eventCounter, string serverFqdn, IPAddress networkAddress, Guid mdbGuid, string databaseName, DateTime originalCreateTime, bool isPublicFolder, TenantPartitionHint tenantHint, string mailboxHopLatency, LatencyTracker latencyTracker, bool shouldDeprioritize, bool shouldThrottle, IStoreDriverTracer storeDriverTracer) : base(serverDN, serverFqdn, networkAddress, mdbGuid, databaseName, originalCreateTime, tenantHint, mailboxHopLatency, latencyTracker, shouldDeprioritize, shouldThrottle) { this.mailboxGuid = mailboxGuid; this.entryId = entryId; this.parentEntryId = parentEntryId; this.eventCounter = eventCounter; this.isPublicFolder = isPublicFolder; this.storeDriverTracer = storeDriverTracer; }
public SubmissionPoisonHandler(TimeSpan poisonEntryExpiryWindow, int maxPoisonEntries, QuarantineHandler quarantineHandler, ICrashRepository crashRepository, IStoreDriverTracer storeDriverTracer) { ArgumentValidator.ThrowIfZeroOrNegative("maxPoisonEntries", maxPoisonEntries); ArgumentValidator.ThrowIfNull("quarantineHandler", quarantineHandler); ArgumentValidator.ThrowIfNull("crashRepository", crashRepository); ArgumentValidator.ThrowIfNull("storeDriverTracer", storeDriverTracer); this.poisonEntryExpiryWindow = poisonEntryExpiryWindow; this.maxPoisonEntries = maxPoisonEntries; this.quarantineHandler = quarantineHandler; this.crashRepository = crashRepository; this.storeDriverTracer = storeDriverTracer; }