| Package | Description |
|---|---|
| stella.net.gregor | |
| stella.telescope |
| Modifier and Type | Method and Description |
|---|---|
CommandMessage |
GetterSetter.createGet(Object dest,
String toget)
We create a get command using the property acknowledge and completion
time.
|
CommandMessage |
GetterSetter.createSet(Object dest,
String toset,
long donetime)
We create a set command using the property acknowledge time.
|
| Modifier and Type | Method and Description |
|---|---|
private CommunicationCycle |
GetterSetter.complete(CommandMessage cm)
We initiate and wait.
|
protected List<String> |
GetterSetter.executeGet(CommandMessage cm)
We issue a prepared getter function and wait for the result,
which is returned
as the cycle outcome.
|
protected boolean |
GetterSetter.executeSet(CommandMessage cm)
We issue a preparedsetter function and wait for the result, which is
then interpret as a boolean.
|
protected CommunicationCycle |
GetterSetter.initiate(CommandMessage cm)
We initiate sending a command.
|
protected boolean |
GetterSetter.removeCycle(CommandMessage cm)
Removes the command cycle to this command if still in active list.
|
protected void |
GetterSetter.waitForComplete(CommandMessage cm,
CommunicationCycle cc)
We wait for a command cycle to complete by synchronizing on the cycle
object and issuing maximum two wait states on it.
|
| Constructor and Description |
|---|
CommunicationCycle(CommandMessage m)
Communication cycle with default acknowledge and done timeouts.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
GregorDriver.confirmDialog(CommandMessage cm,
int tsec)
We display a dialog asking for confirmation.
|