Пример #1
0
        public static void OnEvent(TaskManagerEvent e)
        {
            Debug.WriteLine(String.Format("#TaskManagerHub> @@@@@@@@@@ Event received. Msg: {0}, agent: {1}", e.Message, e.AgentName));
            var hubContext = GlobalHost.ConnectionManager.GetHubContext <TaskMonitorHub>();

            hubContext.Clients.All.OnEvent(e);
        }
Пример #2
0
 public void OnEvent(TaskManagerEvent e)
 {
     TaskMonitorHub.OnEvent(e);
 }