Ejemplo n.º 1
0
        private void UpdateExecutor_Finished(object sender, EventArgs e)
        {
            var executor = sender as ExecutorBase;

            if (!executor.Success)
            {
                var createRoomExecutor = new CreateRoomExecutor(ContextManager.WebManager, ContextManager.RoomInfo);
                createRoomExecutor.Start();
            }
        }
Ejemplo n.º 2
0
 public override void Start()
 {
     if (ContextManager.WebManager != null)
     {
         var createRoomExecutor = new CreateRoomExecutor(ContextManager.WebManager, ContextManager.RoomInfo);
         createRoomExecutor.Finished += createRoomExecutor_Finished;
         createRoomExecutor.Start();
     }
     pingTimerID = ContextManager.TimerManager.AddTimerCallBack(pingTimerCallBack, 5000, false, true);
 }