public class OCSCommandExecutor extends Object implements OCSTelemetrySender, OCSEventSender
| Modifier and Type | Class and Description |
|---|---|
static class |
OCSCommandExecutor.OCSExecutor
A base class for all OCS command executors
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
acknowledgeCommand(OCSCommandExecutor.OCSExecutor command,
Duration timeout) |
protected void |
rejectCommand(OCSCommandExecutor.OCSExecutor command,
String reason) |
protected void |
reportComplete(OCSCommandExecutor.OCSExecutor command) |
protected void |
reportError(OCSCommandExecutor.OCSExecutor command,
Exception ex) |
void |
sendEvent(org.lsst.sal.camera.CameraEvent event)
Send event, designed to be overridden in subclasses.
|
void |
sendTelemetry(org.lsst.sal.camera.CameraTelemetry telemetry) |
protected void rejectCommand(OCSCommandExecutor.OCSExecutor command, String reason)
protected void acknowledgeCommand(OCSCommandExecutor.OCSExecutor command, Duration timeout)
protected void reportError(OCSCommandExecutor.OCSExecutor command, Exception ex)
protected void reportComplete(OCSCommandExecutor.OCSExecutor command)
public void sendEvent(org.lsst.sal.camera.CameraEvent event)
sendEvent in interface OCSEventSenderpublic void sendTelemetry(org.lsst.sal.camera.CameraTelemetry telemetry)
sendTelemetry in interface OCSTelemetrySenderCopyright © 2022 LSST. All rights reserved.