Class ReadHandler

java.lang.Object
io.openems.edge.evcs.keba.kecontact.ReadHandler
All Implemented Interfaces:
Consumer<String>

public class ReadHandler extends Object implements Consumer<String>
Handles replies to Report Queries sent by ReadWorker.
  • Constructor Details

  • Method Details

    • accept

      public void accept(String message)
      Specified by:
      accept in interface Consumer<String>
    • hexStringToBinaryString

      protected static String hexStringToBinaryString(String dipSwitches)
    • hasResultandReset

      public boolean hasResultandReset(Report report)
      returns true or false, if the requested report answered or not and set that value to false.
      Parameters:
      report - requested Report
      Returns:
      boolean