Exemplo n.º 1
0
	public MonitorWorker(ExperimentDescriptor experimentDescriptor, RoundBufferMultichannelSampleSource sampleSource, StyledMonitorTagSet tagSet) {
		super(null);
		this.experimentDescriptor = experimentDescriptor;
		this.client = experimentDescriptor.getJmxClient();
		this.sampleSource = sampleSource;
		this.tagSet = tagSet;

		//TODO blocksPerPage - is that information sent to the monitor worker? Can we substitute default PagingParameterDescriptor.DEFAULT_BLOCKS_PER_PAGE
		//with a real value?
		stylesGenerator = new TagStylesGenerator(experimentDescriptor.getSignalParameters().getPageSize(), PagingParameterDescriptor.DEFAULT_BLOCKS_PER_PAGE);
		getBusyDialog().setText(_("Waiting for the first sample..."));

		logger.setLevel((Level) Level.INFO);
	}