Skip to main content

delta-subscribe-oof

Including the basic AMPS library:

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

Constructing the command:

Command cmd = new Command(Message.Command.DeltaSubscribe)
.setTopic(topic)
.setOptions(Message.Options.OOF +
Message.Options.NoEmpties)
;

The command can now be used in execute or executeAsync.