summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opendc-simulator/opendc-simulator-flow/src/main/kotlin/org/opendc/simulator/flow/internal/FlowConsumerContextImpl.kt10
1 files changed, 5 insertions, 5 deletions
diff --git a/opendc-simulator/opendc-simulator-flow/src/main/kotlin/org/opendc/simulator/flow/internal/FlowConsumerContextImpl.kt b/opendc-simulator/opendc-simulator-flow/src/main/kotlin/org/opendc/simulator/flow/internal/FlowConsumerContextImpl.kt
index 58ca918b..1d39d61c 100644
--- a/opendc-simulator/opendc-simulator-flow/src/main/kotlin/org/opendc/simulator/flow/internal/FlowConsumerContextImpl.kt
+++ b/opendc-simulator/opendc-simulator-flow/src/main/kotlin/org/opendc/simulator/flow/internal/FlowConsumerContextImpl.kt
@@ -29,6 +29,11 @@ import kotlin.math.max
import kotlin.math.min
/**
+ * The logging instance of this connection.
+ */
+private val logger = KotlinLogging.logger {}
+
+/**
* Implementation of a [FlowConnection] managing the communication between flow sources and consumers.
*/
internal class FlowConsumerContextImpl(
@@ -37,11 +42,6 @@ internal class FlowConsumerContextImpl(
private val logic: FlowConsumerLogic
) : FlowConsumerContext {
/**
- * The logging instance of this connection.
- */
- private val logger = KotlinLogging.logger {}
-
- /**
* The capacity of the connection.
*/
override var capacity: Double