Class ReadWorker
java.lang.Object
io.openems.common.worker.AbstractWorker
io.openems.common.worker.AbstractCycleWorker
io.openems.edge.tesla.powerwall2.core.ReadWorker
-
Field Summary
Fields inherited from class io.openems.common.worker.AbstractWorker
ALWAYS_WAIT_FOR_TRIGGER_NEXT_RUN, DO_NOT_WAIT, thread
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ReadWorker
(TeslaPowerwall2CoreImpl parent, Inet4Address ipAddress, int port) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
forever()
This method is called in a loop forever until the Thread gets interrupted.Methods inherited from class io.openems.common.worker.AbstractCycleWorker
activate, deactivate, getCycleTime
Methods inherited from class io.openems.common.worker.AbstractWorker
activate, modified, modified, triggerNextRun
-
Constructor Details
-
ReadWorker
protected ReadWorker(TeslaPowerwall2CoreImpl parent, Inet4Address ipAddress, int port) throws NoSuchAlgorithmException, KeyManagementException
-
-
Method Details
-
forever
Description copied from class:AbstractWorker
This method is called in a loop forever until the Thread gets interrupted.- Specified by:
forever
in classAbstractCycleWorker
- Throws:
Throwable
-