Class ReadWorker
- java.lang.Object
-
- io.openems.common.worker.AbstractWorker
-
- io.openems.common.worker.AbstractCycleWorker
-
- io.openems.edge.tesla.powerwall2.core.ReadWorker
-
public class ReadWorker extends AbstractCycleWorker
-
-
Field Summary
-
Fields inherited from class io.openems.common.worker.AbstractWorker
ALWAYS_WAIT_FOR_TRIGGER_NEXT_RUN, DO_NOT_WAIT, thread
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ReadWorker(TeslaPowerwall2CoreImpl parent, java.net.Inet4Address ipAddress, int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
modified, triggerNextRun
-
-
-
-
Constructor Detail
-
ReadWorker
protected ReadWorker(TeslaPowerwall2CoreImpl parent, java.net.Inet4Address ipAddress, int port) throws java.security.NoSuchAlgorithmException, java.security.KeyManagementException
- Throws:
java.security.NoSuchAlgorithmException
java.security.KeyManagementException
-
-
Method Detail
-
forever
protected void forever() throws java.lang.Throwable
Description copied from class:AbstractWorker
This method is called in a loop forever until the Thread gets interrupted.- Specified by:
forever
in classAbstractCycleWorker
- Throws:
java.lang.Throwable
-
-