@Beta public interface PiPipeconfWatchdogService extends ListenerService<PiPipeconfWatchdogEvent,PiPipeconfWatchdogListener>
Modifier and Type | Interface and Description |
---|---|
static class |
PiPipeconfWatchdogService.PipelineStatus
Status of a device pipeline.
|
Modifier and Type | Method and Description |
---|---|
PiPipeconfWatchdogService.PipelineStatus |
getStatus(DeviceId deviceId)
Returns the last known pipeline status of the given device.
|
void |
triggerProbe(DeviceId deviceId)
Asynchronously triggers a probe task that checks the device pipeline
status and, if required, configures it with the pipeconf associated to
this device (via
PiPipeconfService.bindToDevice(PiPipeconfId,
DeviceId) ). |
addListener, removeListener
void triggerProbe(DeviceId deviceId)
PiPipeconfService.bindToDevice(PiPipeconfId,
DeviceId)
).deviceId
- device to probePiPipeconfWatchdogService.PipelineStatus getStatus(DeviceId deviceId)
deviceId
- device ID