Skip to main content

sow-keys

Including the basic AMPS library:

import com.crankuptheamps.client.*;
import com.crankuptheamps.client.exception.*;

Constructing the command:

Command cmd = new Command(Message.Command.SOW)
.setTopic(topic)

// Key string contains AMPS sow keys
.setSowKeys(comma_delimited_key_string)
;

The command can now be used in execute or executeAsync.