Package io.openems.edge.bridge.http
Class BridgeHttpImpl.CycleEndpointCountdown
java.lang.Object
io.openems.edge.bridge.http.BridgeHttpImpl.CycleEndpointCountdown
- Enclosing class:
BridgeHttpImpl
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Decreases the current cycle count by one.int
boolean
reset()
Resets the current cycle count to the initial cycle count.void
setRunning
(boolean running)
-
Field Details
-
cycleEndpoint
-
-
Constructor Details
-
CycleEndpointCountdown
-
-
Method Details
-
reset
Resets the current cycle count to the initial cycle count.- Returns:
- this
-
getCycleCount
public int getCycleCount() -
decreaseCycleCount
public void decreaseCycleCount()Decreases the current cycle count by one. -
isRunning
public boolean isRunning() -
setRunning
public void setRunning(boolean running)
-