public class TplSet extends TplCommand
TplEvent.| Modifier and Type | Field and Description |
|---|---|
private String |
module
The requested module to set.
|
static String |
SET
The set command string.
|
private Boolean |
success
The success of the set procedure, either null, TRUE or FALSE.
|
private String |
value
The new value of the object.
|
| Constructor and Description |
|---|
TplSet(int id,
String query)
Constructs a new set command specifiying the object to set and its new
value.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCommandLead()
Returns the query string.
|
Boolean |
getSuccess()
Returns the state of the setting request.
|
boolean |
parseTplEvent(TplEvent reply)
Additionally checks if the event represents the queried data.
|
commenceCommand, getCommencedWhen, getID, getInfo, getState, hashCode, isAcknowledged, isCompleted, isSending, setInfo, setState, toStringpublic static final String SET
private Boolean success
private String value
private String module
public TplSet(int id,
String query)
public String getCommandLead()
SET and a space.getCommandLead in class TplCommandpublic Boolean getSuccess()
public boolean parseTplEvent(TplEvent reply) throws ParseException
parseTplEvent in class TplCommandParseException