Chronos Plugins  5.2.0
This documentation covers the plugin interfaces definitions and an example implementation.
AxelSemrau.Chronos.Plugin.IPerseveringAcquisitionService Interface Reference

Request retrying if IsAvailable returned false. More...

+ Inheritance diagram for AxelSemrau.Chronos.Plugin.IPerseveringAcquisitionService:
+ Collaboration diagram for AxelSemrau.Chronos.Plugin.IPerseveringAcquisitionService:

Properties

TimeSpan RetryInterval [get]
 If you are sure the service will not be available, return TimeSpan.Zero. Else return a reasonable interval for retrying, depending on how costly the operation is. More...
 
- Properties inherited from AxelSemrau.Chronos.Plugin.IAcquisitionServiceBase
string Name [get]
 Name that is visible to the user in the list of acquisition services. Do not localize. More...
 
bool IsAvailable [get]
 The place to check if you can actually use the acquisition service. More...
 
bool Abort [set]
 Will be set to true if you should abort the current acquisition. Will be set to false when everything is back to normal. More...
 

Detailed Description

Request retrying if IsAvailable returned false.

Some acquisition services depend on other software that might or might not be running. Instead of forcing the user to control the initialization order or making them retry the detection, the acquisition service can request Chronos to retry initialization.

Definition at line 38 of file AcquisitionInterfaces.cs.

Property Documentation

◆ RetryInterval

TimeSpan AxelSemrau.Chronos.Plugin.IPerseveringAcquisitionService.RetryInterval
get

If you are sure the service will not be available, return TimeSpan.Zero. Else return a reasonable interval for retrying, depending on how costly the operation is.

Definition at line 44 of file AcquisitionInterfaces.cs.

44 { get; }

The documentation for this interface was generated from the following file: