void CNSInfoCollector::TraverseNodes( IAction<CNetScheduleAdmin::SWorkerNodeInfo>& action) { std::list<CNetScheduleAdmin::SWorkerNodeInfo> worker_nodes; x_GetNetScheduleAPI().GetAdmin().GetWorkerNodes(worker_nodes); ITERATE(std::list<CNetScheduleAdmin::SWorkerNodeInfo>, it, worker_nodes) { action(*it); }
void CNSInfoCollector::GetQueues(CNetScheduleAdmin::TQueueList& queues) { x_GetNetScheduleAPI().GetAdmin().GetQueueList(queues); }