org.lsst.ccs.subsystems.fcs.drivers
Class CommandDispenser.CommandToRegister
java.lang.Object
org.lsst.ccs.subsystems.fcs.drivers.CommandDispenser.CommandToRegister
- Enclosing class:
- CommandDispenser
protected class CommandDispenser.CommandToRegister
- extends Object
CommandDispenser.CommandToRegister
public CommandDispenser.CommandToRegister(String aTextCommand)
updateResponse
public void updateResponse(String theResponse)
getResponse
public String getResponse(long timeout)
throws TimeoutException
- Return the response to the initial commandWord.
If the response is not yet arrived, it waits for it.
- Parameters:
timeout - we don't want to wait the response more than timeout
- Returns:
- this.response when it's arrived
- Throws:
TimeoutException - if the response doesn't arrive during this elapse
of time
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012 LSST. All Rights Reserved.