Skip to main content

sow-historical-filter

Including the basic AMPS library:

using AMPS.Client;
using AMPS.Client.Message;
using AMPS.Client.Exceptions;

Constructing the command:

Command cmd = new Command(Message.Commands.SOW)
.setTopic(topic)
.setFilter(filter)

// AMPS bookmark or time specifier
.setBookmark(point_in_time_specification)
;

The command can now be used in execute or executeAsync.