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); }
public void OnEvent(TaskManagerEvent e) { TaskMonitorHub.OnEvent(e); }