// Token: 0x06000E63 RID: 3683 RVA: 0x000362C2 File Offset: 0x000344C2 public void NotificationCreated(Guid mailboxGuid, IEnumerable <NotificationPayloadBase> payloads) { if (NotificationStatisticsManager.IncomingNotificationStatisticsEnabled && mailboxGuid != Guid.Empty) { this.incomingNotifications.Update(new MailboxLocation(mailboxGuid), NotificationStatisticsManager.GetStatisticablePayloads(payloads), new Action <NotificationStatisticsValue, NotificationPayloadBase>(NotificationStatisticsManager.UpdateNotificationCreated)); this.TriggerLogCheck(); } }
// Token: 0x06000E65 RID: 3685 RVA: 0x00036336 File Offset: 0x00034536 public void NotificationReceived(string serverName, IEnumerable <NotificationPayloadBase> payloads) { if (NotificationStatisticsManager.IncomingNotificationStatisticsEnabled && !string.IsNullOrEmpty(serverName)) { this.incomingNotifications.Update(new ServerLocation(serverName), NotificationStatisticsManager.GetStatisticablePayloads(payloads), new Action <NotificationStatisticsValue, NotificationPayloadBase>(NotificationStatisticsManager.UpdateNotificationReceived)); this.TriggerLogCheck(); } }
// Token: 0x06000E6B RID: 3691 RVA: 0x00036594 File Offset: 0x00034794 public void NotificationPushed(string destinationUrl, IEnumerable <NotificationPayloadBase> payloads, DateTime pushTime) { if ((NotificationStatisticsManager.IncomingNotificationStatisticsEnabled || NotificationStatisticsManager.OutgoingNotificationStatisticsEnabled) && !string.IsNullOrEmpty(destinationUrl)) { if (NotificationStatisticsManager.IncomingNotificationStatisticsEnabled) { this.BulkUpdateIncomingNotifications(payloads, delegate(NotificationStatisticsValue v, NotificationPayloadBase p) { NotificationStatisticsManager.UpdateNotificationPushed(v, p, pushTime); }); } if (NotificationStatisticsManager.OutgoingNotificationStatisticsEnabled) { this.outgoingNotifications.Update(new ServerLocation(destinationUrl), NotificationStatisticsManager.GetStatisticablePayloads(payloads), delegate(NotificationStatisticsValue v, NotificationPayloadBase p) { NotificationStatisticsManager.UpdateNotificationPushed(v, p, pushTime); }); } this.TriggerLogCheck(); } }
// Token: 0x06000E69 RID: 3689 RVA: 0x00036444 File Offset: 0x00034644 public void NotificationDispatched(string channelId, IEnumerable <NotificationPayloadBase> payloads) { if ((NotificationStatisticsManager.IncomingNotificationStatisticsEnabled || NotificationStatisticsManager.OutgoingNotificationStatisticsEnabled) && !string.IsNullOrEmpty(channelId)) { if (NotificationStatisticsManager.IncomingNotificationStatisticsEnabled) { this.BulkUpdateIncomingNotifications(payloads, new Action <NotificationStatisticsValue, NotificationPayloadBase>(NotificationStatisticsManager.UpdateNotificationDispatched)); } if (NotificationStatisticsManager.OutgoingNotificationStatisticsEnabled) { this.outgoingNotifications.Update(new ChannelLocation(channelId), NotificationStatisticsManager.GetStatisticablePayloads(payloads), new Action <NotificationStatisticsValue, NotificationPayloadBase>(NotificationStatisticsManager.UpdateNotificationDispatched)); } this.TriggerLogCheck(); } }