private class Waltz.WaltzTask extends TimerTask
MoveTelescope command, which is then sent to the appropriate
CommandLauncher.| Modifier and Type | Field and Description |
|---|---|
private CommandLaunching |
atis
The atis server I talk to.
|
private Vector2D |
azalt
The az/alt pair.
|
private long |
delay
The desired delay period after start of dance.
|
| Constructor and Description |
|---|
WaltzTask(CommandLaunching telescope,
Vector2D to,
long wait)
Constructs a new waltz task that will send a
MoveTelescope
command to this command launcher in its run method. |
| Modifier and Type | Method and Description |
|---|---|
private long |
getDelay()
Returns the delay period as specified in the configuration file.
|
void |
run()
Runs the move command.
|
String |
toString() |
cancel, scheduledExecutionTimeprivate final CommandLaunching atis
private final Vector2D azalt
private final long delay
public WaltzTask(CommandLaunching telescope, Vector2D to, long wait)
MoveTelescope
command to this command launcher in its run method.