|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstella.net.tpl.TplCommand
stella.net.tpl.TplSet
public class TplSet
The set command. Parses only single-lined data from the TplEvent.
| Field Summary | |
|---|---|
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. |
| Fields inherited from class stella.net.tpl.TplCommand |
|---|
ABORTED, ABORTEDBY, BUSY, COMPLETE, DENIED, DIMENSION, ERROR, FAILED, IDBUSY, INVALID, LOCKED, NOTRUNNING, OK, OVERRUN, RANGE, SYNTAX, TIMEOUT, TOOMANY, TYPE, UNKNOWN |
| Constructor Summary | |
|---|---|
TplSet(int id,
String query)
Constructs a new set command specifiying the object to set and its new value. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class stella.net.tpl.TplCommand |
|---|
commenceCommand, getCommencedWhen, getID, getInfo, getState, hashCode, isAcknowledged, isCompleted, isSending, setInfo, setState, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String SET
private Boolean success
private String value
private String module
| Constructor Detail |
|---|
public TplSet(int id,
String query)
| Method Detail |
|---|
public String getCommandLead()
SET and a space.
getCommandLead in class TplCommandpublic Boolean getSuccess()
public boolean parseTplEvent(TplEvent reply)
throws ParseException
parseTplEvent in class TplCommandParseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||