Skip to main content

sow-delete-keys

Including the basic AMPS library:

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

Constructing the command:


// Set topic (required)
Command cmd = new Command(Message.Command.SOWDelete)
.setTopic(topic);

// Set SOW keys to be removed
cmd.setSowKeys(keyList);

The command can now be used in executeAsync with a null message handler.