Ejemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 private void StartAfter()
 {
     //TODO network
     if (configure != null)
     {
         Aggr.Network.Start(configure);
         Aggr.Debug("{0} network.io host:{1} port:{2} is started...", ServerID, configure.Host, configure.Port);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 public void RunWaitLoop()
 {
     Runtime.Start();
     while (!Runtime.IsCancel)
     {
         try
         {
             Runtime.Update();
         }
         catch (Exception e)
         {
             Aggr.Error("App runtime Update method error", e);
         }
         Thread.Sleep(Runtime.Frequency);
     }
 }