Class ReplayProtocol

java.lang.Object
com.framed.core.Service
com.framed.io.protocol.Protocol
com.framed.communicator.driver.protocol.replay.ReplayProtocol

public class ReplayProtocol extends Protocol
A replay protocol that reads either CSV (test_ph.csv) or JSONL files and replays all datapoints in real time into the FRAMED EventBus, using the same publish mechanism as the real PC60FW / Oxylog drivers.
  • Constructor Details

    • ReplayProtocol

      public ReplayProtocol(String id, EventBus eventBus, String filePath, org.json.JSONArray devices)
  • Method Details

    • connect

      public void connect()
      Description copied from class: Protocol
      Establishes a connection using the specific protocol implementation and starts the configured data export. Concrete subclasses must provide the logic for connecting.
      Specified by:
      connect in class Protocol