/* * (non-Javadoc) * * @see * com.intel.stl.ui.common.performance.SimpleDataProvider#registerTask(int, * com.intel.stl.ui.publisher.ICallback) */ @Override protected Task<List<FocusPortsRspBean>> registerTask( GroupSource sourceName, ICallback<List<FocusPortsRspBean>> callback) { FocusPortCounterSubscriber focusPortCounterSubscriber = (FocusPortCounterSubscriber) scheduler.getSubscriber(SubscriberType.FOCUS_PORTS); return focusPortCounterSubscriber.registerFocusPorts( sourceName.getGroup(), selection, range, callback); }
/* * (non-Javadoc) * * @see * com.intel.stl.ui.performance.provider.SimpleDataProvider#refresh(java * .lang.String) */ @Override protected List<FocusPortsRspBean> refresh(GroupSource sourceName) { return scheduler.getPerformanceApi().getFocusPorts(sourceName.getGroup(), selection, range); }