/** * Sets the source of data for this front end. It basically sets the predecessor of the first DataProcessor of this * front end. * * @param dataSource the source of data */ public void setDataSource(DataProcessor dataSource) { first.setPredecessor(dataSource); }
private void init() { this.timer = TimerPool.getTimer(this, "Frontend"); last = null; for (DataProcessor dp : frontEndList) { assert dp != null; if (last != null) dp.setPredecessor(last); if (first == null) { first = dp; } last = dp; } initialize(); }
/** * Sets the source of data for this front end. It basically sets the predecessor of the first DataProcessor of this * front end. * * @param dataSource the source of data */ public void setDataSource(DataProcessor dataSource) { first.setPredecessor(dataSource); }
private void init() { this.timer = TimerPool.getTimer(this, "Frontend"); last = null; for (DataProcessor dp : frontEndList) { assert dp != null; if (last != null) dp.setPredecessor(last); if (first == null) { first = dp; } last = dp; } initialize(); }