Class MedibusRealTimeParser

java.lang.Object
com.framed.core.Service
com.framed.io.parser.Parser<Byte>
com.framed.communicator.driver.parser.medibus.MedibusRealTimeParser

public class MedibusRealTimeParser extends Parser<Byte>
  • Constructor Details

    • MedibusRealTimeParser

      public MedibusRealTimeParser(EventBus eventBus, int waveFormType, org.json.JSONArray devices)
  • Method Details

    • parse

      public void parse(Byte message, String deviceName)
      Description copied from class: Parser
      Parses a raw input message and publishes the resulting events on the event bus.
      Specified by:
      parse in class Parser<Byte>
      Parameters:
      message - the raw input to parse
      deviceName - the identifier of the device the message originated from
    • write

      public void write(String deviceName, List<Map<String,Object>> batch)