Skip to content
ebiiii edited this page Oct 27, 2014 · 1 revision

Scheduled Bridge Virtual Sensor

This VS acts as a bridge and does not modify data but forwards data only at the specified intervals. It can be used to forward data directly from a wrapper to the notification system, or to only use SQL filtering.

This virtual sensor only publishes data that at the scheduled intervals. The StreamElement object is not modified.

The parameters specify the output schedule. Its main use is to filter and join sensor data with SQL without any other kind of post processing operation on the data. For using this wrapper the output structure of the virtual sensor must match strictly with the structure of the query.

Parameters:

  • rate The interval between output in milliseconds.
  • start-time Starting time for virtual sensor output.

If the specified starting time is past, the virtual sensor will default to starting at the next whole time interval.

Example:

<processing-class>
	<class-name>gsn.vsensor.ScheduledBridgeVirtualSensor</class-name>
	<init-params>
		<param name="rate">300000</param>
		<param name="start-time">2009-10-5T14:59:30.000+11:00</param>
	</init-params>
 ...
Clone this wiki locally