// Token: 0x06000E6C RID: 3692 RVA: 0x00036644 File Offset: 0x00034844
 public void NotificationDropped(NotificationPayloadBase payload, NotificationState state)
 {
     if (NotificationStatisticsManager.IncomingNotificationStatisticsEnabled && NotificationStatisticsManager.IsStatisticable(payload))
     {
         this.incomingNotifications.Update(payload.Source, payload, delegate(NotificationStatisticsValue v, NotificationPayloadBase p)
         {
             NotificationStatisticsManager.UpdateNotificationDropped(v, p, state);
         });
         this.TriggerLogCheck();
     }
     if (NotificationStatisticsManager.OutgoingNotificationStatisticsEnabled)
     {
         RemoteNotificationPayload remoteNotificationPayload = payload as RemoteNotificationPayload;
         if (remoteNotificationPayload != null && remoteNotificationPayload.ChannelIds != null)
         {
             foreach (string channelId in remoteNotificationPayload.ChannelIds)
             {
                 this.outgoingNotifications.Update(new ChannelLocation(channelId), payload, delegate(NotificationStatisticsValue v, NotificationPayloadBase p)
                 {
                     NotificationStatisticsManager.UpdateNotificationDropped(v, p, state);
                 });
             }
         }
     }
 }
 // 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: 0x06000E77 RID: 3703 RVA: 0x00036A66 File Offset: 0x00034C66
 private static IEnumerable <NotificationPayloadBase> GetStatisticablePayloads(IEnumerable <NotificationPayloadBase> payloads)
 {
     if (payloads == null)
     {
         return(null);
     }
     return(from payload in payloads
            where NotificationStatisticsManager.IsStatisticable(payload)
            select payload);
 }
 // Token: 0x06000E6D RID: 3693 RVA: 0x00036714 File Offset: 0x00034914
 public void NotificationDropped(IEnumerable <NotificationPayloadBase> payloads, NotificationState state)
 {
     if (NotificationStatisticsManager.IncomingNotificationStatisticsEnabled)
     {
         this.BulkUpdateIncomingNotifications(payloads, delegate(NotificationStatisticsValue v, NotificationPayloadBase p)
         {
             NotificationStatisticsManager.UpdateNotificationDropped(v, p, state);
         });
     }
 }
 // Token: 0x06000E6F RID: 3695 RVA: 0x0003677C File Offset: 0x0003497C
 private void BulkUpdateIncomingNotifications(IEnumerable <NotificationPayloadBase> payloads, Action <NotificationStatisticsValue, NotificationPayloadBase> doUpdate)
 {
     if (payloads != null && doUpdate != null)
     {
         foreach (NotificationPayloadBase notificationPayloadBase in payloads)
         {
             if (NotificationStatisticsManager.IsStatisticable(notificationPayloadBase))
             {
                 this.incomingNotifications.Update(notificationPayloadBase.Source, notificationPayloadBase, doUpdate);
             }
         }
         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: 0x06000E6A RID: 3690 RVA: 0x000364D8 File Offset: 0x000346D8
 public void NotificationPushed(string destinationUrl, NotificationPayloadBase payload, DateTime pushTime)
 {
     if ((NotificationStatisticsManager.IncomingNotificationStatisticsEnabled || NotificationStatisticsManager.OutgoingNotificationStatisticsEnabled) && !string.IsNullOrEmpty(destinationUrl) && NotificationStatisticsManager.IsStatisticable(payload))
     {
         if (NotificationStatisticsManager.IncomingNotificationStatisticsEnabled)
         {
             this.incomingNotifications.Update(payload.Source, payload, delegate(NotificationStatisticsValue v, NotificationPayloadBase p)
             {
                 NotificationStatisticsManager.UpdateNotificationPushed(v, p, pushTime);
             });
         }
         if (NotificationStatisticsManager.OutgoingNotificationStatisticsEnabled)
         {
             this.outgoingNotifications.Update(new ServerLocation(destinationUrl), payload, delegate(NotificationStatisticsValue v, NotificationPayloadBase p)
             {
                 NotificationStatisticsManager.UpdateNotificationPushed(v, p, pushTime);
             });
         }
         this.TriggerLogCheck();
     }
 }
 // Token: 0x06000E64 RID: 3684 RVA: 0x00036301 File Offset: 0x00034501
 public void NotificationReceived(NotificationPayloadBase payload)
 {
     if (NotificationStatisticsManager.IncomingNotificationStatisticsEnabled && NotificationStatisticsManager.IsStatisticable(payload))
     {
         this.incomingNotifications.Update(payload.Source, payload, new Action <NotificationStatisticsValue, NotificationPayloadBase>(NotificationStatisticsManager.UpdateNotificationReceived));
         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();
     }
 }
 // Token: 0x06000E68 RID: 3688 RVA: 0x000363C8 File Offset: 0x000345C8
 public void NotificationDispatched(string channelId, NotificationPayloadBase payload)
 {
     if ((NotificationStatisticsManager.IncomingNotificationStatisticsEnabled || NotificationStatisticsManager.OutgoingNotificationStatisticsEnabled) && !string.IsNullOrEmpty(channelId) && NotificationStatisticsManager.IsStatisticable(payload))
     {
         if (NotificationStatisticsManager.IncomingNotificationStatisticsEnabled)
         {
             this.incomingNotifications.Update(payload.Source, payload, new Action <NotificationStatisticsValue, NotificationPayloadBase>(NotificationStatisticsManager.UpdateNotificationDispatched));
         }
         if (NotificationStatisticsManager.OutgoingNotificationStatisticsEnabled)
         {
             this.outgoingNotifications.Update(new ChannelLocation(channelId), payload, new Action <NotificationStatisticsValue, NotificationPayloadBase>(NotificationStatisticsManager.UpdateNotificationDispatched));
         }
         this.TriggerLogCheck();
     }
 }