예제 #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);