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