eta_nexus.connections.connection_utils module
- class eta_nexus.connections.connection_utils.RetryWaiter[source]
Bases:
objectHelper class which keeps track of waiting time before retrying a connection.
- class eta_nexus.connections.connection_utils.IntervalChecker[source]
Bases:
objectClass for the subscription interval checking.
- node_latest_values: dict[Node, list]
Dictionary that stores the value and the time for checking changes and the time interval
- push(node: Node, value: Any | pd.Series | Sequence[Any], timestamp: datetime | pd.DatetimeIndex | TimeStep | None = None) None[source]
Push value and time in dictionary for a node. If the value doesn’t change compared to the previous timestamp, the push is skipped.
- Parameters:
node – Node to check.
value – Value from the subscription.
timestamp – Time of the incoming value of the node.