Class PythonParser

java.lang.Object
com.framed.core.Service
com.framed.io.parser.Parser<Object>
com.framed.communicator.driver.parser.python.PythonParser

public class PythonParser extends Parser<Object>
  • Constructor Details

    • PythonParser

      public PythonParser(EventBus eventBus, org.json.JSONArray devices)
  • Method Details

    • parse

      public void parse(Object 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<Object>
      Parameters:
      message - the raw input to parse
      deviceName - the identifier of the device the message originated from