Package jmri.jmrix.roco.z21.simulator
Class Z21XNetSimulatorAdapter
- java.lang.Object
-
- jmri.jmrix.roco.z21.simulator.Z21XNetSimulatorAdapter
-
public class Z21XNetSimulatorAdapter extends java.lang.Object
Provide access to a simulated z21 XpressNet sub-system.This shares some code with the XpressNet simulator, but it's not a derived class because it isn't a real connection.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
locoCount
(package private) Z21SimulatorLocoData[]
locoData
(package private) int
locoPosition
-
Constructor Summary
Constructors Constructor Description Z21XNetSimulatorAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) XNetReply
generateReply(XNetMessage m)
-
-
-
Field Detail
-
locoData
Z21SimulatorLocoData[] locoData
-
locoCount
int locoCount
-
locoPosition
int locoPosition
-
-
Constructor Detail
-
Z21XNetSimulatorAdapter
public Z21XNetSimulatorAdapter()
-
-
Method Detail
-
generateReply
XNetReply generateReply(XNetMessage m)
-
-