Esempio n. 1
0
 public void Put(int identifier, Notification n)
 {
     lock (this)
     {
         depot[identifier % saveCount] = n;
         lastIdentifier = identifier;
     }
 }
Esempio n. 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);
 }
 public override void Enqueue(Notification n)
 {
     service.Enqueue(n);
 }
 public override void Enqueue(Notification n)
 {
 }
 public abstract void Enqueue(Notification n);