Exemple #1
0
 private void feedServer(Object o)
 {
     while (bWorkThread == 0)
     {
         mClient.feedServer();
         Thread.Sleep(10 * 1000);
     }
 }
Exemple #2
0
 private void feedServer(Object o)
 {
     while (bWorkThread == 0)
     {
         try
         {
             mClient.feedServer();
         }
         catch (Exception e)
         {
             break;
         }
         Thread.Sleep(5 * 1000);
     }
 }