ConcentratorBase(Int32, Double, Double) Constructor

Creates a new ConcentratorBase from specified parameters.

Definition

Namespace: Gemstone.Timeseries
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.128 -- Release Build+e2476c52e94864f123f37e60764c948e49eb89eb
protected ConcentratorBase(
	int framesPerSecond,
	double lagTime,
	double leadTime
)

Parameters

framesPerSecond  Int32
Number of frames to publish per second.
lagTime  Double
Past time deviation tolerance, in seconds - this becomes the amount of time to wait before publishing begins.
leadTime  Double
Future time deviation tolerance, in seconds - this becomes the tolerated +/- accuracy of the local clock to real-time.

Remarks

framesPerSecond must be greater then 0.

lagTime must be greater than zero, but can be specified in sub-second intervals (e.g., set to .25 for a quarter-second lag time). Note that this defines time sensitivity to past timestamps.

leadTime must be greater than zero, but can be specified in sub-second intervals (e.g., set to .5 for a half-second lead time). Note that this defines time sensitivity to future timestamps.

Concentration will not begin until consumer "Starts" concentrator (i.e., calling Start method or setting Enabled = true).

Exceptions

ArgumentOutOfRangeExceptionSpecified argument is outside of allowed value range (see remarks).

See Also