private static class TelescopeClient.Blocking extends Object implements ReplySubscriber
| Modifier and Type | Field and Description |
|---|---|
private static List |
active
A list of offset commands sent during guiding where we don't wait.
|
private static long |
MAXTIMEOUT
Maximum time-out, independant from command.
|
private static TelescopeClient |
to
The telescope client to block.
|
private static Object |
wait
A locking object.
|
| Constructor and Description |
|---|
Blocking(TelescopeClient receiver)
Constructs a new adapter-to-telescope caster.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
castCommandAndWait(CommandEvent ce)
Casts the command and blocks.
|
void |
forward(ReplyEvent re)
If the received reply matches an offset sent during guiding, we
remove it from the list and return without notifying.
|
private static Object wait
private static List active
private static TelescopeClient to
private static final long MAXTIMEOUT
public Blocking(TelescopeClient receiver)
TelescopeClient.init() method.public void forward(ReplyEvent re)
forward in interface ReplySubscriberpublic boolean castCommandAndWait(CommandEvent ce)