Skip to main content

sow-and-delta-subscribe-oof

Including the basic AMPS library:

#include <amps/ampsplusplus.hpp>

Constructing the command:

AMPS::Command cmd(AMPS::Message::Command::SOWAndDeltaSubscribe);

AMPS::Message::Options opts;
opts.setOOF();
opts.setNoEmpties(); // Set other options as needed

cmd.setTopic(topic).setOptions(opts);

The command can now be used in execute or executeAsync.