|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrix.AbstractMRTrafficController
jmri.jmrix.rfid.RfidTrafficController
jmri.jmrix.rfid.merg.concentrator.SpecificTrafficController
public class SpecificTrafficController
Converts Stream-based I/O to/from messages. The "SerialInterface" side sends/receives message objects.
The connection to a SerialPortController is via a pair of *Streams, which then carry sequences of characters for transmission. Note that this processing is handled in an independent thread.
This maintains a list of nodes, but doesn't currently do anything with it.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jmri.jmrix.AbstractMRTrafficController |
|---|
AbstractMRTrafficController.RcvNotifier, AbstractMRTrafficController.XmtNotifier |
| Field Summary | |
|---|---|
(package private) boolean |
sendInterlock
|
| Fields inherited from class jmri.jmrix.rfid.RfidTrafficController |
|---|
logDebug |
| Constructor Summary | |
|---|---|
SpecificTrafficController(RfidSystemConnectionMemo memo,
String range)
|
|
| Method Summary | |
|---|---|
protected boolean |
endOfMessage(AbstractMRReply msg)
This is a default, null implementation, which must be overridden in an adapter-specific subclass. |
protected void |
forwardToPort(AbstractMRMessage m,
AbstractMRListener reply)
Actually transmits the next message to the port |
String |
getRange()
|
RfidMessage |
getRfidMessage(int length)
Get a message of a specific length for filling in. |
protected AbstractMRReply |
newReply()
This is a default, null implementation, which must be overridden in an adapter-specific subclass. |
| Methods inherited from class jmri.jmrix.rfid.RfidTrafficController |
|---|
addRfidListener, enterNormalMode, enterProgMode, forwardMessage, forwardReply, getReporterManager, getSensorManager, pollMessage, pollReplyHandler, removeRfidListener, sendRfidMessage, setAdapterMemo, setInstance, setReporterManager, setSensorManager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jmri.jmrix.rfid.RfidInterface |
|---|
status |
| Field Detail |
|---|
boolean sendInterlock
| Constructor Detail |
|---|
public SpecificTrafficController(RfidSystemConnectionMemo memo,
String range)
| Method Detail |
|---|
public RfidMessage getRfidMessage(int length)
RfidTrafficControllerThis is a default, null implementation, which must be overridden in an adapter-specific subclass.
getRfidMessage in class RfidTrafficController
protected void forwardToPort(AbstractMRMessage m,
AbstractMRListener reply)
AbstractMRTrafficController
forwardToPort in class RfidTrafficControllerprotected AbstractMRReply newReply()
RfidTrafficControllerThis is a default, null implementation, which must be overridden in an adapter-specific subclass.
newReply in class RfidTrafficControllerpublic String getRange()
getRange in class RfidTrafficControllerprotected boolean endOfMessage(AbstractMRReply msg)
RfidTrafficControllerThis is a default, null implementation, which must be overridden in an adapter-specific subclass.
endOfMessage in class RfidTrafficController
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||