protected static class CommandDispenser.CommandToRegister extends Object
| Constructor and Description |
|---|
CommandDispenser.CommandToRegister(String aTextCommand) |
| Modifier and Type | Method and Description |
|---|---|
String |
getResponse(long timeout)
Return the response to the initial commandWord.
|
String |
toString() |
void |
updateResponse(String theResponse) |
public CommandDispenser.CommandToRegister(String aTextCommand)
public void updateResponse(String theResponse)
public String getResponse(long timeout) throws TimeoutException
timeout - we don't want to wait the response more than timeoutTimeoutException - if the response doesn't arrive during this elapse
of timeCopyright © 2014 LSST. All Rights Reserved.