Package jmri.jmrix.loconet.pr2
Class LnPr2Packetizer
java.lang.Object
jmri.jmrix.loconet.LnTrafficController
jmri.jmrix.loconet.LnPacketizer
jmri.jmrix.loconet.pr2.LnPr2Packetizer
- All Implemented Interfaces:
LocoNetInterface
Special LnPr2Packetizer implementation for PR2.
Differs only in handling PR2's non-echo.
-
Nested Class Summary
Nested classes/interfaces inherited from class jmri.jmrix.loconet.LnPacketizer
LnPacketizer.RcvHandler -
Field Summary
Fields inherited from class jmri.jmrix.loconet.LnPacketizer
controller, echo, istream, ostream, rcvHandler, rcvThread, threadStopRequest, xmtHandler, xmtList, xmtThreadFields inherited from class jmri.jmrix.loconet.LnTrafficController
listeners, receivedByteCount, receivedMsgCount, transmittedMsgCountFields inherited from interface jmri.jmrix.loconet.LocoNetInterface
ALL, POWER, PROGRAMMING, SENSORS, SLOTINFO, TURNOUTS -
Constructor Summary
ConstructorsConstructorDescriptionCreate a Packetizer against an existing LocoNetSystemConnectionMemo. -
Method Summary
Methods inherited from class jmri.jmrix.loconet.LnPacketizer
connectPort, disconnectPort, dispose, isXmtBusy, messageTransmitted, readByteProtected, sendLocoNetMessage, startThreads, status, terminateThreadsMethods inherited from class jmri.jmrix.loconet.LnTrafficController
addLocoNetListener, getReceivedByteCount, getReceivedMsgCount, getSystemConnectionMemo, getTransmittedMsgCount, notify, removeLocoNetListener, resetStatistics, setSystemConnectionMemo
-
Constructor Details
-
LnPr2Packetizer
public LnPr2Packetizer() -
LnPr2Packetizer
Create a Packetizer against an existing LocoNetSystemConnectionMemo.This allows for re-configuring an existing LocoNetSystemConnectionMemo, which was created during PR3Adapter initialization, for use in the PR3's "PR2 Mode" (i.e. "Standalone Programmer Mode".)
- Parameters:
memo- pre-existing LocoNetSystemConnectionMemo
-