class documentation

class AwaitedBinding(NamedBinding):

View In Hierarchy

A declaration the StartupSkill may wait for.

Instance Variable required Whether the StartupSkill waits for it before Running.
Instance Variable startup_timeout Seconds that wait lasts, or None for the deployment's default.
Method _require_a_deadline_that_means_something Refuse a startup_timeout on a Binding that is not required, or one that is not positive.

Inherited from NamedBinding:

Class Variable kind What the messages call this declaration, such as "Monitoring Binding".
Instance Variable name The Binding's name.
Method _require_a_machinery_group Refuse a group that is not one of the Machinery Monitoring sub-structures.
Method _require_a_name_machinery_monitoring_leaves_free Refuse a name OPC 40001-1 keeps for a sub-structure of a Machine's or Component's Monitoring.
Method _require_a_name_that_can_be_browsed Refuse an empty name or one that breaks the naming rule, which opensmi would only refuse at start.
Method _require_a_subclass Refuse an implementation class that is not a subclass of the stock one.
Method _require_new_names_that_follow_the_rule Refuse a rename value that breaks the naming rule. It is taken as is, never converted.
required: bool =

Whether the StartupSkill waits for it before Running.

startup_timeout: float | None =

Seconds that wait lasts, or None for the deployment's default.

def _require_a_deadline_that_means_something(self):

Refuse a startup_timeout on a Binding that is not required, or one that is not positive.

Raises
RequiredDeclarationErrorOn either contradiction.