Пример #1
0
 public void Put(int identifier, Notification n)
 {
     lock (this)
     {
         depot[identifier % saveCount] = n;
         lastIdentifier = identifier;
     }
 }
Пример #2
0
 public void Enqueue(Notification n)
 {
     if (!connection.IsThreadAlive) logger.Debug("Apns Connection thread has died!");
     if (thread == null || !thread.IsAlive) logger.Debug("Apns Service thread has died!");
     queue.Enqueue(n);
 }
Пример #3
0
 public override void Enqueue(Notification n)
 {
     service.Enqueue(n);
 }
 public override void Enqueue(Notification n)
 {
 }
Пример #5
0
 public abstract void Enqueue(Notification n);