Class SimulatorAdapter

All Implemented Interfaces:
Runnable, PortAdapter, SerialPortAdapter

public class SimulatorAdapter extends SerialPortController implements Runnable
Provide access to a simulated Maple system.

Currently, the Maple SimulatorAdapter reacts to the following commands sent from the user interface with an appropriate reply generateReply(SerialMessage):

  • RC Read Coils (poll), all coil bits 0
  • WC Write Coils (ACK)
Based on jmri.jmrix.lenz.xnetsimulator.XNetSimulatorAdapter / GrapevineSimulatorAdapter 2017

NOTE: Some material in this file was modified from other portions of the support infrastructure.