Ejemplo n.º 1
0
 /// <summary>
 /// Freezed servers do nothing when this method is called
 /// </summary>
 internal override void ImAlive()
 {
     Logger.Log(new String[] { "FreezedServer", "ImAlive" });
     lock (this) {
         while (!recover)
         {
             Monitor.Wait(this);
         }
         oldState.ImAlive();
         Monitor.Pulse(this);
     }
 }
Ejemplo n.º 2
0
 public void ImAlive()
 {
     serverState.ImAlive();
 }