Uses of Class
jmri.jmrix.AbstractMRMessage
-
Packages that use AbstractMRMessage Package Description jmri.jmrix Interfaces and implementations for system-specific code.jmri.jmrix.acela This package handles communications for the CTI Acela hardware.jmri.jmrix.can Defines classes for interfacing to a CAN-based model railway control bus.jmri.jmrix.can.adapters.gridconnect Defines classes for communicating with the CAN network via hardware which uses the GridConnect format.jmri.jmrix.can.adapters.gridconnect.can2usbino Defines classes for interfacing to a CAN2USBino CAN adapter.jmri.jmrix.can.adapters.gridconnect.canrs Defines classes for interfacing to a MERG CAN-RS or CAN-USB adapter.jmri.jmrix.can.adapters.lawicell Defines classes for communicating with the CAN network via hardware which uses the Lawicell formatjmri.jmrix.can.adapters.loopback Defines classes for simulating communication with a CAN network via loopback.jmri.jmrix.cmri.serial Provides basic interfaces and certain core implementations for the JMRI C/MRI serial implementation.jmri.jmrix.dcc4pc jmri.jmrix.dccpp jmri.jmrix.dccpp.network jmri.jmrix.dccpp.serial jmri.jmrix.direct jmri.jmrix.easydcc jmri.jmrix.ecos Support for the ESU ECoS.jmri.jmrix.grapevine This package handles communications for the ProTrak Grapevine hardware.jmri.jmrix.ieee802154 jmri.jmrix.ieee802154.serialdriver jmri.jmrix.ieee802154.xbee jmri.jmrix.jmriclient jmri.jmrix.lenz jmri.jmrix.lenz.li100 jmri.jmrix.lenz.liusb jmri.jmrix.lenz.liusbethernet jmri.jmrix.lenz.liusbserver jmri.jmrix.maple jmri.jmrix.marklin jmri.jmrix.nce jmri.jmrix.oaktree jmri.jmrix.powerline This package handles communications for powerline adapters, such as X10.jmri.jmrix.powerline.cm11 This package handles communications for CM11 powerline adapters.jmri.jmrix.powerline.cp290 This package handles communications for CP290 powerline adapters.jmri.jmrix.powerline.dmx512 This package handles communications for DMX lighting adapters.jmri.jmrix.powerline.insteon2412s This package handles communications for Insteon 2412S adapters.jmri.jmrix.powerline.simulator jmri.jmrix.rfid This package handles communications for RFID adapters.jmri.jmrix.rfid.generic.standalone This package handles communications for Generic RFID stand-alone readers.jmri.jmrix.rfid.merg.concentrator This package handles communications for MERG RFID Concentrators.jmri.jmrix.roco.z21 jmri.jmrix.secsi This package handles communications for the TracTronics SECSI hardware.jmri.jmrix.sprog jmri.jmrix.srcp Provide a JMRI connection to an SRCP server.jmri.jmrix.tams Support for the ESU ECoS.jmri.jmrix.tmcc -
-
Uses of AbstractMRMessage in jmri.jmrix
Fields in jmri.jmrix declared as AbstractMRMessage Modifier and Type Field Description (package private) AbstractMRMessage
AbstractMRTrafficController.XmtNotifier. mMsg
Fields in jmri.jmrix with type parameters of type AbstractMRMessage Modifier and Type Field Description protected java.util.LinkedList<AbstractMRMessage>
AbstractMRTrafficController. msgQueue
Messages to be transmitted.Methods in jmri.jmrix that return AbstractMRMessage Modifier and Type Method Description abstract AbstractMRMessage
AbstractNode. createInitPacket()
Create the needed Initialization packet (AbstractMRMessage) for this node.abstract AbstractMRMessage
AbstractNode. createOutPacket()
Create a Transmit packet (AbstractMRMessage) to send current state.protected abstract AbstractMRMessage
AbstractMRTrafficController. enterNormalMode()
Sets the system to normal mode during programming while in IDLESTATE.protected abstract AbstractMRMessage
AbstractMRTrafficController. enterProgMode()
Set the system to programming mode.protected abstract AbstractMRMessage
AbstractMRTrafficController. pollMessage()
Invoked if it's appropriate to do low-priority polling of the command station, this should return the next message to send, or null if the TrafficController should just sleep.Methods in jmri.jmrix with parameters of type AbstractMRMessage Modifier and Type Method Description protected int
AbstractMRTrafficController. addHeaderToOutput(byte[] msg, AbstractMRMessage m)
Add header to the outgoing byte stream.protected void
AbstractMRTrafficController. addTrailerToOutput(byte[] msg, int offset, AbstractMRMessage m)
Add trailer to the outgoing byte stream.protected abstract void
AbstractMRTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Implement this to forward a specific message type to a protocol-specific listener interface.protected void
AbstractMRTrafficController. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
Actually transmit the next message to the port.protected void
AbstractMRTrafficController. handleTimeout(AbstractMRMessage msg, AbstractMRListener l)
abstract boolean
AbstractNode. handleTimeout(AbstractMRMessage m, AbstractMRListener l)
Deal with a timeout in the transmission controller.protected int
AbstractMRTrafficController. lengthOfByteStream(AbstractMRMessage m)
Determine how many bytes the entire message will take, including space for header and trailer.protected void
AbstractMRTrafficController. notifyMessage(AbstractMRMessage m, AbstractMRListener notMe)
Forward a Message to registered listeners.protected void
AbstractMRTrafficController. resetTimeout(AbstractMRMessage msg)
abstract void
AbstractNode. resetTimeout(AbstractMRMessage m)
A reply was received, so there was no timeout, do any needed processing.protected void
AbstractMRTrafficController. sendMessage(AbstractMRMessage m, AbstractMRListener reply)
Forward message to the port.protected void
AbstractMRTrafficController. warnOnTimeout(AbstractMRMessage msg, AbstractMRListener l)
Constructors in jmri.jmrix with parameters of type AbstractMRMessage Constructor Description AbstractMRMessage(AbstractMRMessage m)
Copy an AbstractMRMessage to a new instance.XmtNotifier(AbstractMRMessage pMsg, AbstractMRListener pDest, AbstractMRTrafficController pTc)
-
Uses of AbstractMRMessage in jmri.jmrix.acela
Subclasses of AbstractMRMessage in jmri.jmrix.acela Modifier and Type Class Description class
AcelaMessage
Contains the data payload of an Acela packet.Methods in jmri.jmrix.acela that return AbstractMRMessage Modifier and Type Method Description AbstractMRMessage
AcelaNode. createInitPacket()
Create the needed Initialization packet (AbstractMRMessage) for this node.AbstractMRMessage
AcelaNode. createOutPacket()
Create a Transmit packet (SerialMessage) to send current state.protected AbstractMRMessage
AcelaTrafficController. enterNormalMode()
protected AbstractMRMessage
AcelaTrafficController. enterProgMode()
protected AbstractMRMessage
AcelaTrafficController. pollMessage()
Handle initialization, output and polling for Acela Nodes from within the running thread.Methods in jmri.jmrix.acela with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
AcelaTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward an AcelaMessage to all registered AcelaInterface listeners.boolean
AcelaNode. handleTimeout(AbstractMRMessage m, AbstractMRListener l)
Deal with a timeout in the transmission controller.protected void
AcelaTrafficController. handleTimeout(AbstractMRMessage m, AbstractMRListener l)
void
AcelaNode. resetTimeout(AbstractMRMessage m)
A reply was received, so there was no timeout, do any needed processing.protected void
AcelaTrafficController. resetTimeout(AbstractMRMessage m)
-
Uses of AbstractMRMessage in jmri.jmrix.can
Subclasses of AbstractMRMessage in jmri.jmrix.can Modifier and Type Class Description class
CanMessage
Base class for messages in a CANbus based message/reply protocol.Methods in jmri.jmrix.can that return AbstractMRMessage Modifier and Type Method Description abstract AbstractMRMessage
AbstractCanTrafficController. encodeForHardware(CanMessage m)
protected AbstractMRMessage
AbstractCanTrafficController. enterNormalMode()
Sets the system to normal mode during programming while in IDLESTATE.protected AbstractMRMessage
AbstractCanTrafficController. enterProgMode()
Set the system to programming mode.protected abstract AbstractMRMessage
AbstractCanTrafficController. newMessage()
Get the correct concrete class for the hardware connection messageprotected AbstractMRMessage
AbstractCanTrafficController. pollMessage()
Invoked if it's appropriate to do low-priority polling of the command station, this should return the next message to send, or null if the TrafficController should just sleep.Methods in jmri.jmrix.can with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
AbstractCanTrafficController. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
Actually transmits the next message to the port Overridden to include translation to the correct CAN hardware message format Actually transmit the next message to the port. -
Uses of AbstractMRMessage in jmri.jmrix.can.adapters.gridconnect
Subclasses of AbstractMRMessage in jmri.jmrix.can.adapters.gridconnect Modifier and Type Class Description class
GridConnectMessage
Class for GridConnect messages for a CAN hardware adapter.Methods in jmri.jmrix.can.adapters.gridconnect that return AbstractMRMessage Modifier and Type Method Description AbstractMRMessage
GcTrafficController. encodeForHardware(CanMessage m)
Encode a CanMessage for the hardware.protected AbstractMRMessage
GcTrafficController. newMessage()
Get new message for hardware protocol.Methods in jmri.jmrix.can.adapters.gridconnect with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
GcTrafficController. addTrailerToOutput(byte[] msg, int offset, AbstractMRMessage m)
Does nothing.protected void
GcTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a CanMessage to all registered CanInterface listeners.protected int
GcTrafficController. lengthOfByteStream(AbstractMRMessage m)
Determine how much many bytes the entire message will take, including space for header and trailer. -
Uses of AbstractMRMessage in jmri.jmrix.can.adapters.gridconnect.can2usbino
Subclasses of AbstractMRMessage in jmri.jmrix.can.adapters.gridconnect.can2usbino Modifier and Type Class Description class
GridConnectDoubledMessage
Class for GridConnectDoubled messages for a CAN hardware adapter. -
Uses of AbstractMRMessage in jmri.jmrix.can.adapters.gridconnect.canrs
Subclasses of AbstractMRMessage in jmri.jmrix.can.adapters.gridconnect.canrs Modifier and Type Class Description class
MergMessage
Class for messages for a MERG CAN-RS hardware adapter.Methods in jmri.jmrix.can.adapters.gridconnect.canrs that return AbstractMRMessage Modifier and Type Method Description AbstractMRMessage
MergTrafficController. encodeForHardware(CanMessage m)
Encode a CanMessage for the hardware.protected AbstractMRMessage
MergTrafficController. newMessage()
-
Uses of AbstractMRMessage in jmri.jmrix.can.adapters.lawicell
Subclasses of AbstractMRMessage in jmri.jmrix.can.adapters.lawicell Modifier and Type Class Description class
Message
Class for messages for a LAWICELL CAN hardware adapter.Methods in jmri.jmrix.can.adapters.lawicell that return AbstractMRMessage Modifier and Type Method Description AbstractMRMessage
LawicellTrafficController. encodeForHardware(CanMessage m)
Encode a CanMessage into Lawicell format for the hardware.protected AbstractMRMessage
LawicellTrafficController. newMessage()
Methods in jmri.jmrix.can.adapters.lawicell with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
LawicellTrafficController. addTrailerToOutput(byte[] msg, int offset, AbstractMRMessage m)
Add trailer to the outgoing byte stream.protected void
LawicellTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a CanMessage to all registered CanInterface listeners.protected int
LawicellTrafficController. lengthOfByteStream(AbstractMRMessage m)
Determine how much many bytes the entire message will take, including space for header and trailer -
Uses of AbstractMRMessage in jmri.jmrix.can.adapters.loopback
Methods in jmri.jmrix.can.adapters.loopback that return AbstractMRMessage Modifier and Type Method Description AbstractMRMessage
LoopbackTrafficController. encodeForHardware(CanMessage m)
Encode a CanMessage for the hardware.protected AbstractMRMessage
LoopbackTrafficController. newMessage()
Methods in jmri.jmrix.can.adapters.loopback with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
LoopbackTrafficController. addTrailerToOutput(byte[] msg, int offset, AbstractMRMessage m)
Add trailer to the outgoing byte stream.protected void
LoopbackTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a CanMessage to all registered CanInterface listeners.protected int
LoopbackTrafficController. lengthOfByteStream(AbstractMRMessage m)
Determine how many bytes the entire message will take, including space for header and trailer -
Uses of AbstractMRMessage in jmri.jmrix.cmri.serial
Subclasses of AbstractMRMessage in jmri.jmrix.cmri.serial Modifier and Type Class Description class
SerialMessage
Contains the data payload of a CMRI serial packet.Methods in jmri.jmrix.cmri.serial that return AbstractMRMessage Modifier and Type Method Description AbstractMRMessage
SerialNode. createInitPacket()
Create an Initialization packet (SerialMessage) for this nodeAbstractMRMessage
SerialNode. createOutPacket()
Create an Transmit packet (SerialMessage)protected AbstractMRMessage
SerialTrafficController. enterNormalMode()
protected AbstractMRMessage
SerialTrafficController. enterProgMode()
protected AbstractMRMessage
SerialTrafficController. pollMessage()
Handles initialization, output and polling for C/MRI Serial Nodes from within the running thread.Methods in jmri.jmrix.cmri.serial with parameters of type AbstractMRMessage Modifier and Type Method Description protected int
SerialTrafficController. addHeaderToOutput(byte[] msg, AbstractMRMessage m)
Add header to the outgoing byte stream.protected void
SerialTrafficController. addTrailerToOutput(byte[] msg, int offset, AbstractMRMessage m)
Add trailer to the outgoing byte stream.protected void
SerialTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a message to all registered listeners.boolean
SerialNode. handleTimeout(AbstractMRMessage m, AbstractMRListener l)
protected void
SerialTrafficController. handleTimeout(AbstractMRMessage m, AbstractMRListener l)
protected int
SerialTrafficController. lengthOfByteStream(AbstractMRMessage m)
Determine how much many bytes the entire message will take, including space for header and trailervoid
SerialNode. resetTimeout(AbstractMRMessage m)
protected void
SerialTrafficController. resetTimeout(AbstractMRMessage m)
-
Uses of AbstractMRMessage in jmri.jmrix.dcc4pc
Subclasses of AbstractMRMessage in jmri.jmrix.dcc4pc Modifier and Type Class Description class
Dcc4PcMessage
Encodes a message to the DCC4PC Interface.Methods in jmri.jmrix.dcc4pc that return AbstractMRMessage Modifier and Type Method Description protected AbstractMRMessage
Dcc4PcTrafficController. enterNormalMode()
protected AbstractMRMessage
Dcc4PcTrafficController. enterProgMode()
protected AbstractMRMessage
Dcc4PcTrafficController. pollMessage()
Methods in jmri.jmrix.dcc4pc with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
Dcc4PcTrafficController. addTrailerToOutput(byte[] msg, int offset, AbstractMRMessage m)
protected void
Dcc4PcTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a Dcc4PcMessage to all registered Dcc4PcInterface listeners.protected void
Dcc4PcTrafficController. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
protected void
Dcc4PcTrafficController. handleTimeout(AbstractMRMessage msg, AbstractMRListener l)
-
Uses of AbstractMRMessage in jmri.jmrix.dccpp
Subclasses of AbstractMRMessage in jmri.jmrix.dccpp Modifier and Type Class Description class
DCCppMessage
Represents a single command or response on the DCC++.Methods in jmri.jmrix.dccpp that return AbstractMRMessage Modifier and Type Method Description protected AbstractMRMessage
DCCppTrafficController. enterNormalMode()
protected AbstractMRMessage
DCCppTrafficController. enterProgMode()
Has to be available, even though it doesn't do anything on DCC++.protected AbstractMRMessage
DCCppTrafficController. pollMessage()
Methods in jmri.jmrix.dccpp with parameters of type AbstractMRMessage Modifier and Type Method Description protected int
DCCppPacketizer. addHeaderToOutput(byte[] msg, AbstractMRMessage m)
Add header to the outgoing byte stream.protected void
DCCppPacketizer. addTrailerToOutput(byte[] msg, int offset, AbstractMRMessage m)
Add trailer to the outgoing byte stream.void
DCCppTrafficController. forwardMessage(AbstractMRListener reply, AbstractMRMessage m)
Forward a preformatted DCCppMessage to a specific listener interface.protected void
DCCppTrafficController. handleTimeout(AbstractMRMessage msg, AbstractMRListener l)
protected int
DCCppTrafficController. lengthOfByteStream(AbstractMRMessage m)
-
Uses of AbstractMRMessage in jmri.jmrix.dccpp.network
Methods in jmri.jmrix.dccpp.network with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
DCCppEthernetPacketizer. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
Actually transmits the next message to the port -
Uses of AbstractMRMessage in jmri.jmrix.dccpp.serial
Methods in jmri.jmrix.dccpp.serial with parameters of type AbstractMRMessage Modifier and Type Method Description protected int
SerialDCCppPacketizer. lengthOfByteStream(AbstractMRMessage m)
Determine how many bytes the entire message will take, including space for header and trailer -
Uses of AbstractMRMessage in jmri.jmrix.direct
Subclasses of AbstractMRMessage in jmri.jmrix.direct Modifier and Type Class Description class
Message
Encodes a message for Direct DCC. -
Uses of AbstractMRMessage in jmri.jmrix.easydcc
Subclasses of AbstractMRMessage in jmri.jmrix.easydcc Modifier and Type Class Description class
EasyDccMessage
Encodes a message to an EasyDCC command station.Methods in jmri.jmrix.easydcc that return AbstractMRMessage Modifier and Type Method Description protected AbstractMRMessage
EasyDccTrafficController. enterNormalMode()
protected AbstractMRMessage
EasyDccTrafficController. enterProgMode()
protected AbstractMRMessage
EasyDccTrafficController. pollMessage()
Methods in jmri.jmrix.easydcc with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
EasyDccTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward an EasyDccMessage to all registered EasyDccInterface listeners. -
Uses of AbstractMRMessage in jmri.jmrix.ecos
Subclasses of AbstractMRMessage in jmri.jmrix.ecos Modifier and Type Class Description class
EcosMessage
Encodes a message to an Ecos command station.Methods in jmri.jmrix.ecos that return AbstractMRMessage Modifier and Type Method Description protected AbstractMRMessage
EcosTrafficController. enterNormalMode()
ECoS doesn't support this function.protected AbstractMRMessage
EcosTrafficController. enterProgMode()
ECoS doesn't support this function.protected AbstractMRMessage
EcosTrafficController. pollMessage()
Invoked if it's appropriate to do low-priority polling of the command station, this should return the next message to send, or null if the TrafficController should just sleep.Methods in jmri.jmrix.ecos with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
EcosTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Implement this to forward a specific message type to a protocol-specific listener interface.protected void
EcosTrafficController. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
Actually transmit the next message to the port. -
Uses of AbstractMRMessage in jmri.jmrix.grapevine
Subclasses of AbstractMRMessage in jmri.jmrix.grapevine Modifier and Type Class Description class
SerialMessage
Contains the data payload of a serial packet.Methods in jmri.jmrix.grapevine that return AbstractMRMessage Modifier and Type Method Description AbstractMRMessage
SerialNode. createInitPacket()
Create Initialization packets (SerialMessage) for this node.AbstractMRMessage
SerialNode. createOutPacket()
Public method to create a Transmit packet (SerialMessage).protected AbstractMRMessage
SerialTrafficController. enterNormalMode()
protected AbstractMRMessage
SerialTrafficController. enterProgMode()
protected AbstractMRMessage
SerialTrafficController. pollMessage()
Handle initialization, output and polling for Grapevine from within the running thread.Methods in jmri.jmrix.grapevine with parameters of type AbstractMRMessage Modifier and Type Method Description protected int
SerialTrafficController. addHeaderToOutput(byte[] msg, AbstractMRMessage m)
Add header to the outgoing byte stream.protected void
SerialTrafficController. addTrailerToOutput(byte[] msg, int offset, AbstractMRMessage m)
Although this protocol doesn't use a trailer, we implement this method to set the expected reply address for this message.protected void
SerialTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a SerialMessage to all registered SerialInterface listeners.protected void
SerialTrafficController. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
boolean
SerialNode. handleTimeout(AbstractMRMessage m, AbstractMRListener l)
Deal with a timeout in the transmission controller.protected void
SerialTrafficController. handleTimeout(AbstractMRMessage m, AbstractMRListener l)
protected int
SerialTrafficController. lengthOfByteStream(AbstractMRMessage m)
Determine how much many bytes the entire message will take, including space for header and trailervoid
SerialNode. resetTimeout(AbstractMRMessage m)
A reply was received, so there was no timeout, do any needed processing.protected void
SerialTrafficController. resetTimeout(AbstractMRMessage m)
-
Uses of AbstractMRMessage in jmri.jmrix.ieee802154
Subclasses of AbstractMRMessage in jmri.jmrix.ieee802154 Modifier and Type Class Description class
IEEE802154Message
Contains the data payload of an IEEE 802.15.4 packet.Methods in jmri.jmrix.ieee802154 that return AbstractMRMessage Modifier and Type Method Description abstract AbstractMRMessage
IEEE802154Node. createInitPacket()
Create the needed Initialization packet (AbstractMRMessage) for this node.abstract AbstractMRMessage
IEEE802154Node. createOutPacket()
Create an Transmit packet (AbstractMRMessage) to send current stateprotected AbstractMRMessage
IEEE802154TrafficController. enterNormalMode()
protected AbstractMRMessage
IEEE802154TrafficController. enterProgMode()
protected AbstractMRMessage
IEEE802154TrafficController. pollMessage()
Eventually, do initialization if neededMethods in jmri.jmrix.ieee802154 with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
IEEE802154TrafficController. addTrailerToOutput(byte[] msg, int offset, AbstractMRMessage m)
Add trailer to the outgoing byte stream.protected void
IEEE802154TrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a IEEE802154Message to all registered IEEE802154Interface listeners.protected void
IEEE802154TrafficController. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
abstract boolean
IEEE802154Node. handleTimeout(AbstractMRMessage m, AbstractMRListener l)
Deal with a timeout in the transmission controller.abstract void
IEEE802154Node. resetTimeout(AbstractMRMessage m)
A reply was received, so there was not timeout, do any needed processing. -
Uses of AbstractMRMessage in jmri.jmrix.ieee802154.serialdriver
Methods in jmri.jmrix.ieee802154.serialdriver that return AbstractMRMessage Modifier and Type Method Description AbstractMRMessage
SerialNode. createInitPacket()
Create the needed Initialization packet (AbstractMRMessage) for this node.AbstractMRMessage
SerialNode. createOutPacket()
Create an Transmit packet (AbstractMRMessage) to send current stateMethods in jmri.jmrix.ieee802154.serialdriver with parameters of type AbstractMRMessage Modifier and Type Method Description boolean
SerialNode. handleTimeout(AbstractMRMessage m, AbstractMRListener l)
Deal with a timeout in the transmission controller.void
SerialNode. resetTimeout(AbstractMRMessage m)
A reply was received, so there was not timeout, do any needed processing. -
Uses of AbstractMRMessage in jmri.jmrix.ieee802154.xbee
Subclasses of AbstractMRMessage in jmri.jmrix.ieee802154.xbee Modifier and Type Class Description class
XBeeBroadcastMessage
This is an extension of the XBeeMessage class for messages that are to be sent as broadcast messages.class
XBeeMessage
This is a wrapper class for a Digi XBeeAPIPacket.Methods in jmri.jmrix.ieee802154.xbee that return AbstractMRMessage Modifier and Type Method Description AbstractMRMessage
XBeeNode. createInitPacket()
Create the needed Initialization packet (AbstractMRMessage) for this node.AbstractMRMessage
XBeeNode. createOutPacket()
Create an Transmit packet (AbstractMRMessage) to send current state.protected AbstractMRMessage
XBeeTrafficController. enterNormalMode()
protected AbstractMRMessage
XBeeTrafficController. enterProgMode()
protected AbstractMRMessage
XBeeTrafficController. pollMessage()
Invoked if it's appropriate to do low-priority polling of the command station, this should return the next message to send, or null if the TC should just sleep.Methods in jmri.jmrix.ieee802154.xbee with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
XBeeTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a XBeeMessage to all registered XBeeInterface listeners.protected void
XBeeTrafficController. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
Actually transmit the next message to the port.boolean
XBeeNode. handleTimeout(AbstractMRMessage m, AbstractMRListener l)
Deal with a timeout in the transmission controller.void
XBeeNode. resetTimeout(AbstractMRMessage m)
A reply was received, so there was not timeout; do any needed processing.protected void
XBeeTrafficController. sendMessage(AbstractMRMessage m, AbstractMRListener reply)
This is invoked with messages to be forwarded to the port. -
Uses of AbstractMRMessage in jmri.jmrix.jmriclient
Subclasses of AbstractMRMessage in jmri.jmrix.jmriclient Modifier and Type Class Description class
JMRIClientMessage
Encodes a message to an JMRIClient server.Methods in jmri.jmrix.jmriclient that return AbstractMRMessage Modifier and Type Method Description protected AbstractMRMessage
JMRIClientTrafficController. enterNormalMode()
protected AbstractMRMessage
JMRIClientTrafficController. enterProgMode()
protected AbstractMRMessage
JMRIClientTrafficController. pollMessage()
Methods in jmri.jmrix.jmriclient with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
JMRIClientTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a JMRIClientMessage to all registered JMRIClientInterface listeners. -
Uses of AbstractMRMessage in jmri.jmrix.lenz
Subclasses of AbstractMRMessage in jmri.jmrix.lenz Modifier and Type Class Description class
XNetMessage
Represents a single command or response on the XpressNet.Methods in jmri.jmrix.lenz that return AbstractMRMessage Modifier and Type Method Description protected AbstractMRMessage
XNetTrafficController. enterNormalMode()
Return the value of getExitProgModeMsg().protected AbstractMRMessage
XNetTrafficController. enterProgMode()
This method has to be available, even though it doesn't do anything on Lenz.protected AbstractMRMessage
XNetTrafficController. pollMessage()
Methods in jmri.jmrix.lenz with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
XNetPacketizer. addTrailerToOutput(byte[] msg, int offset, AbstractMRMessage m)
Add trailer to the outgoing byte stream.void
XNetTrafficController. forwardMessage(AbstractMRListener reply, AbstractMRMessage m)
Forward a preformatted XNetMessage to a specific listener interface.protected void
XNetTrafficController. handleTimeout(AbstractMRMessage msg, AbstractMRListener l)
protected void
XNetTrafficController. notifyMessage(AbstractMRMessage m, AbstractMRListener notMe)
-
Uses of AbstractMRMessage in jmri.jmrix.lenz.li100
Methods in jmri.jmrix.lenz.li100 that return AbstractMRMessage Modifier and Type Method Description protected AbstractMRMessage
LI100XNetPacketizer. enterNormalMode()
-
Uses of AbstractMRMessage in jmri.jmrix.lenz.liusb
Methods in jmri.jmrix.lenz.liusb with parameters of type AbstractMRMessage Modifier and Type Method Description protected int
LIUSBXNetPacketizer. addHeaderToOutput(byte[] msg, AbstractMRMessage m)
Add header to the outgoing byte stream.protected int
LIUSBXNetPacketizer. lengthOfByteStream(AbstractMRMessage m)
Determine how many bytes the entire message will take, including space for header and trailer. -
Uses of AbstractMRMessage in jmri.jmrix.lenz.liusbethernet
Methods in jmri.jmrix.lenz.liusbethernet with parameters of type AbstractMRMessage Modifier and Type Method Description protected int
LIUSBEthernetXNetPacketizer. addHeaderToOutput(byte[] msg, AbstractMRMessage m)
Add header to the outgoing byte stream.protected int
LIUSBEthernetXNetPacketizer. lengthOfByteStream(AbstractMRMessage m)
Determine how much many bytes the entire message will take, including space for header and trailer. -
Uses of AbstractMRMessage in jmri.jmrix.lenz.liusbserver
Methods in jmri.jmrix.lenz.liusbserver with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
LIUSBServerXNetPacketizer. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
Actually transmits the next message to the port -
Uses of AbstractMRMessage in jmri.jmrix.maple
Subclasses of AbstractMRMessage in jmri.jmrix.maple Modifier and Type Class Description class
SerialMessage
Contains the data payload of a serial packet.Methods in jmri.jmrix.maple that return AbstractMRMessage Modifier and Type Method Description AbstractMRMessage
SerialNode. createInitPacket()
Create an Initialization packet (SerialMessage) for this node.AbstractMRMessage
SerialNode. createOutPacket()
Create a Transmit packet (SerialMessage).protected AbstractMRMessage
SerialTrafficController. enterNormalMode()
protected AbstractMRMessage
SerialTrafficController. enterProgMode()
protected AbstractMRMessage
SerialTrafficController. pollMessage()
Handle output and polling for Maple Serial Nodes from within the running thread.Methods in jmri.jmrix.maple with parameters of type AbstractMRMessage Modifier and Type Method Description protected int
SerialTrafficController. addHeaderToOutput(byte[] msg, AbstractMRMessage m)
Add header to the outgoing byte stream.protected void
SerialTrafficController. addTrailerToOutput(byte[] msg, int offset, AbstractMRMessage m)
Add trailer to the outgoing byte stream.protected void
SerialTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a SerialMessage to all registered SerialInterface listeners.boolean
SerialNode. handleTimeout(AbstractMRMessage m, AbstractMRListener l)
Deal with a timeout in the transmission controller.protected void
SerialTrafficController. handleTimeout(AbstractMRMessage m, AbstractMRListener l)
protected int
SerialTrafficController. lengthOfByteStream(AbstractMRMessage m)
Determine how much many bytes the entire message will take, including space for header and trailer.void
SerialNode. resetTimeout(AbstractMRMessage m)
protected void
SerialTrafficController. resetTimeout(AbstractMRMessage m)
-
Uses of AbstractMRMessage in jmri.jmrix.marklin
Subclasses of AbstractMRMessage in jmri.jmrix.marklin Modifier and Type Class Description class
MarklinMessage
Encodes a message to a Marklin command station.Methods in jmri.jmrix.marklin that return AbstractMRMessage Modifier and Type Method Description protected AbstractMRMessage
MarklinTrafficController. enterNormalMode()
protected AbstractMRMessage
MarklinTrafficController. enterProgMode()
protected AbstractMRMessage
MarklinTrafficController. pollMessage()
Check Tams MC for updates.Methods in jmri.jmrix.marklin with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
MarklinTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a MarklinMessage to all registered MarklinInterface listeners. -
Uses of AbstractMRMessage in jmri.jmrix.nce
Subclasses of AbstractMRMessage in jmri.jmrix.nce Modifier and Type Class Description class
NceMessage
Encodes a message to an NCE command station.Methods in jmri.jmrix.nce that return AbstractMRMessage Modifier and Type Method Description protected AbstractMRMessage
NceTrafficController. enterNormalMode()
protected AbstractMRMessage
NceTrafficController. enterProgMode()
protected AbstractMRMessage
NceTrafficController. pollMessage()
Check NCE EPROM and start NCE CS accessory memory pollMethods in jmri.jmrix.nce with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
NceTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a NceMessage to all registered NceInterface listeners.protected void
NceTrafficController. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
-
Uses of AbstractMRMessage in jmri.jmrix.oaktree
Subclasses of AbstractMRMessage in jmri.jmrix.oaktree Modifier and Type Class Description class
SerialMessage
Contains the data payload of a serial packet.Methods in jmri.jmrix.oaktree that return AbstractMRMessage Modifier and Type Method Description AbstractMRMessage
SerialNode. createInitPacket()
Create an Initialization packet (SerialMessage) for this node.AbstractMRMessage
SerialNode. createOutPacket()
Create an Transmit packet (SerialMessage).protected AbstractMRMessage
SerialTrafficController. enterNormalMode()
protected AbstractMRMessage
SerialTrafficController. enterProgMode()
protected AbstractMRMessage
SerialTrafficController. pollMessage()
Handles initialization, output and polling for Oak Tree from within the running threadMethods in jmri.jmrix.oaktree with parameters of type AbstractMRMessage Modifier and Type Method Description protected int
SerialTrafficController. addHeaderToOutput(byte[] msg, AbstractMRMessage m)
Add header to the outgoing byte stream.protected void
SerialTrafficController. addTrailerToOutput(byte[] msg, int offset, AbstractMRMessage m)
Although this protocol doesn't use a trailer, we implement this method to set the expected reply length and address for this message.protected void
SerialTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a SerialMessage to all registered SerialInterface listeners.boolean
SerialNode. handleTimeout(AbstractMRMessage m, AbstractMRListener l)
Deal with a timeout in the transmission controller.protected void
SerialTrafficController. handleTimeout(AbstractMRMessage m, AbstractMRListener l)
protected int
SerialTrafficController. lengthOfByteStream(AbstractMRMessage m)
Determine how much many bytes the entire message will take, including space for header and trailer.void
SerialNode. resetTimeout(AbstractMRMessage m)
protected void
SerialTrafficController. resetTimeout(AbstractMRMessage m)
-
Uses of AbstractMRMessage in jmri.jmrix.powerline
Subclasses of AbstractMRMessage in jmri.jmrix.powerline Modifier and Type Class Description class
SerialMessage
Contains the data payload of a serial packet.Methods in jmri.jmrix.powerline that return AbstractMRMessage Modifier and Type Method Description protected AbstractMRMessage
SerialTrafficController. enterNormalMode()
protected AbstractMRMessage
SerialTrafficController. enterProgMode()
protected AbstractMRMessage
SerialTrafficController. pollMessage()
Eventually, do initialization if neededMethods in jmri.jmrix.powerline with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
SerialTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a SerialMessage to all registered SerialInterface listeners.protected void
SerialTrafficController. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
-
Uses of AbstractMRMessage in jmri.jmrix.powerline.cm11
Subclasses of AbstractMRMessage in jmri.jmrix.powerline.cm11 Modifier and Type Class Description class
SpecificMessage
Contains the data payload of a serial packet.Methods in jmri.jmrix.powerline.cm11 with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
SpecificTrafficController. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
-
Uses of AbstractMRMessage in jmri.jmrix.powerline.cp290
Subclasses of AbstractMRMessage in jmri.jmrix.powerline.cp290 Modifier and Type Class Description class
SpecificMessage
Contains the data payload of a serial packet.Methods in jmri.jmrix.powerline.cp290 with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
SpecificTrafficController. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
-
Uses of AbstractMRMessage in jmri.jmrix.powerline.dmx512
Subclasses of AbstractMRMessage in jmri.jmrix.powerline.dmx512 Modifier and Type Class Description class
SpecificMessage
Contains the data payload of a serial packet. -
Uses of AbstractMRMessage in jmri.jmrix.powerline.insteon2412s
Subclasses of AbstractMRMessage in jmri.jmrix.powerline.insteon2412s Modifier and Type Class Description class
SpecificMessage
Contains the data payload of a serial packet.Methods in jmri.jmrix.powerline.insteon2412s with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
SpecificTrafficController. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
-
Uses of AbstractMRMessage in jmri.jmrix.powerline.simulator
Subclasses of AbstractMRMessage in jmri.jmrix.powerline.simulator Modifier and Type Class Description class
SpecificMessage
Contains the data payload of a serial packet.Methods in jmri.jmrix.powerline.simulator with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
SpecificTrafficController. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
-
Uses of AbstractMRMessage in jmri.jmrix.rfid
Subclasses of AbstractMRMessage in jmri.jmrix.rfid Modifier and Type Class Description class
RfidMessage
Contains the data payload of a serial packet.Methods in jmri.jmrix.rfid that return AbstractMRMessage Modifier and Type Method Description protected AbstractMRMessage
RfidTrafficController. enterNormalMode()
protected AbstractMRMessage
RfidTrafficController. enterProgMode()
protected AbstractMRMessage
RfidTrafficController. pollMessage()
Eventually, do initialization if neededMethods in jmri.jmrix.rfid with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
RfidTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a RfidMessage to all registered RfidInterface listeners.protected void
RfidTrafficController. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
-
Uses of AbstractMRMessage in jmri.jmrix.rfid.generic.standalone
Subclasses of AbstractMRMessage in jmri.jmrix.rfid.generic.standalone Modifier and Type Class Description class
StandaloneMessage
This file is part of JMRI.Methods in jmri.jmrix.rfid.generic.standalone with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
StandaloneTrafficController. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
-
Uses of AbstractMRMessage in jmri.jmrix.rfid.merg.concentrator
Subclasses of AbstractMRMessage in jmri.jmrix.rfid.merg.concentrator Modifier and Type Class Description class
ConcentratorMessage
This file is part of JMRI.Methods in jmri.jmrix.rfid.merg.concentrator with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
ConcentratorTrafficController. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
-
Uses of AbstractMRMessage in jmri.jmrix.roco.z21
Subclasses of AbstractMRMessage in jmri.jmrix.roco.z21 Modifier and Type Class Description class
Z21Message
Class for messages in the z21/Z21 protocol.class
Z21XNetMessage
Represents a single command or response on the XpressNet.Methods in jmri.jmrix.roco.z21 with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
Z21TrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Implement this to forward a specific message type to a protocol-specific listener interface.protected void
Z21TrafficController. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
Actually transmits the next message to the port. -
Uses of AbstractMRMessage in jmri.jmrix.secsi
Subclasses of AbstractMRMessage in jmri.jmrix.secsi Modifier and Type Class Description class
SerialMessage
Contains the data payload of a serial packet.Methods in jmri.jmrix.secsi that return AbstractMRMessage Modifier and Type Method Description AbstractMRMessage
SerialNode. createInitPacket()
Create an Initialization packet (SerialMessage) for this node.AbstractMRMessage
SerialNode. createOutPacket()
Create a Transmit packet (SerialMessage).protected AbstractMRMessage
SerialTrafficController. enterNormalMode()
protected AbstractMRMessage
SerialTrafficController. enterProgMode()
protected AbstractMRMessage
SerialTrafficController. pollMessage()
Handles initialization, output and polling from within the running threadMethods in jmri.jmrix.secsi with parameters of type AbstractMRMessage Modifier and Type Method Description protected int
SerialTrafficController. addHeaderToOutput(byte[] msg, AbstractMRMessage m)
Add header to the outgoing byte stream.protected void
SerialTrafficController. addTrailerToOutput(byte[] msg, int offset, AbstractMRMessage m)
Although this protocol doesn't use a trailer, we implement this method to set the expected reply length and address for this message.protected void
SerialTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a SerialMessage to all registered SerialInterface listeners.boolean
SerialNode. handleTimeout(AbstractMRMessage m, AbstractMRListener l)
Deal with a timeout in the transmission controller.protected void
SerialTrafficController. handleTimeout(AbstractMRMessage m, AbstractMRListener l)
protected int
SerialTrafficController. lengthOfByteStream(AbstractMRMessage m)
Determine how many bytes the entire message will take, including space for header and trailer.void
SerialNode. resetTimeout(AbstractMRMessage m)
A reply was received, so there was no timeout, do any needed processing.protected void
SerialTrafficController. resetTimeout(AbstractMRMessage m)
-
Uses of AbstractMRMessage in jmri.jmrix.sprog
Subclasses of AbstractMRMessage in jmri.jmrix.sprog Modifier and Type Class Description class
SprogMessage
Encode a message to an SPROG command station. -
Uses of AbstractMRMessage in jmri.jmrix.srcp
Subclasses of AbstractMRMessage in jmri.jmrix.srcp Modifier and Type Class Description class
SRCPMessage
Encodes a message to an SRCP server.Methods in jmri.jmrix.srcp that return AbstractMRMessage Modifier and Type Method Description protected AbstractMRMessage
SRCPTrafficController. enterNormalMode()
protected AbstractMRMessage
SRCPTrafficController. enterProgMode()
protected AbstractMRMessage
SRCPTrafficController. pollMessage()
Methods in jmri.jmrix.srcp with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
SRCPTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a SRCPMessage to all registered SRCPInterface listeners. -
Uses of AbstractMRMessage in jmri.jmrix.tams
Subclasses of AbstractMRMessage in jmri.jmrix.tams Modifier and Type Class Description class
TamsMessage
Encodes a message to a Tams MasterControl command station.Methods in jmri.jmrix.tams with parameters of type AbstractMRMessage Modifier and Type Method Description protected void
TamsTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a TamsMessage to all registered TamsInterface listeners.protected void
TamsTrafficController. forwardToPort(AbstractMRMessage tm, AbstractMRListener reply)
-
Uses of AbstractMRMessage in jmri.jmrix.tmcc
Subclasses of AbstractMRMessage in jmri.jmrix.tmcc Modifier and Type Class Description class
SerialMessage
Contains the data payload of a TMCC serial packet.Methods in jmri.jmrix.tmcc that return AbstractMRMessage Modifier and Type Method Description protected AbstractMRMessage
SerialTrafficController. enterNormalMode()
protected AbstractMRMessage
SerialTrafficController. enterProgMode()
protected AbstractMRMessage
SerialTrafficController. pollMessage()
Handle initialization, output and polling for TMCC from within the running thread.Methods in jmri.jmrix.tmcc with parameters of type AbstractMRMessage Modifier and Type Method Description protected int
SerialTrafficController. addHeaderToOutput(byte[] msg, AbstractMRMessage m)
No header neededprotected void
SerialTrafficController. addTrailerToOutput(byte[] msg, int offset, AbstractMRMessage m)
Add trailer to the outgoing byte stream.protected void
SerialTrafficController. forwardMessage(AbstractMRListener client, AbstractMRMessage m)
Forward a SerialMessage to all registered SerialInterface listeners.protected void
SerialTrafficController. forwardToPort(AbstractMRMessage m, AbstractMRListener reply)
Actually transmits the next message to the portprotected int
SerialTrafficController. lengthOfByteStream(AbstractMRMessage m)
Determine how much many bytes the entire message will take, including space for header and trailer
-