com.crankuptheamps.client
Class Message.Options

java.lang.Object
  extended by com.crankuptheamps.client.Message.Options
Enclosing class:
Message

public static final class Message.Options
extends Object

Represents the options for an AMPS command. Options are provided as a comma-delimited list. For example, to provide the options OOF and NoEmpties to a SOW and Subscribe command, you can use the following code:

 Command c = new Command("sow_and_subscribe")
                   .setOptions(Message.Options.OOF +
                                     Message.Options.NoEmpties)
                         // other parameters for command here
                         ; 

 


Field Summary
static String Live
           
static String NoEmpties
           
static String None
           
static String OOF
           
static String Replace
           
static String SendKeys
           
 
Constructor Summary
Message.Options()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

None

public static final String None

Live

public static final String Live
See Also:
Constant Field Values

OOF

public static final String OOF
See Also:
Constant Field Values

Replace

public static final String Replace
See Also:
Constant Field Values

NoEmpties

public static final String NoEmpties
See Also:
Constant Field Values

SendKeys

public static final String SendKeys
See Also:
Constant Field Values
Constructor Detail

Message.Options

public Message.Options()