From 99b45c87e41db09b9a97f971abbf578f5e776084 Mon Sep 17 00:00:00 2001 From: "p.vanderwilt" Date: Fri, 14 Nov 2025 12:55:11 +0100 Subject: [PATCH] Rename _updateSourceSink to updateSourceSink for outside access --- src/specificClass.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/specificClass.js b/src/specificClass.js index 55a4b32..7652922 100644 --- a/src/specificClass.js +++ b/src/specificClass.js @@ -509,7 +509,7 @@ class Machine { this.logger.debug(`Flow update: ${value} at ${position} from ${context.childName || 'child'}`); if (this.upstreamSource && this.downstreamSink) { - this._updateSourceSink(); + this.updateSourceSink(); } // Store in parent's measurement container @@ -521,7 +521,7 @@ class Machine { } } - _updateSourceSink() { + updateSourceSink() { // Handles flow according to the configured "flow number" this.logger.debug(`Updating source-sink pair: ${this.upstreamSource.config.functionality.softwareType} - ${this.downstreamSink.config.functionality.softwareType}`); this.downstreamSink.setInfluent = this.upstreamSource.getEffluent[this.config.flowNumber];