|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrix.AbstractMRTrafficController
jmri.jmrix.powerline.SerialTrafficController
jmri.jmrix.powerline.cm11.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 |
|---|
| Fields inherited from class jmri.jmrix.powerline.SerialTrafficController |
|---|
logDebug |
| Constructor Summary | |
|---|---|
SpecificTrafficController(SerialSystemConnectionMemo memo)
|
|
| Method Summary | |
|---|---|
boolean |
endOfMessage(AbstractMRReply msg)
Specific class override of the Serial class |
protected void |
forwardToPort(AbstractMRMessage m,
AbstractMRListener reply)
Actually transmits the next message to the port |
int |
getNumberOfIntensitySteps()
This system provides 22 dim steps |
SerialMessage |
getSerialMessage(int length)
Get a message of a specific length for filling in. |
protected AbstractMRReply |
newReply()
Specific class override of the Serial class |
void |
sendX10Sequence(X10Sequence s,
SerialListener l)
Send a sequence of X10 messages Makes them into the local messages and then queues in order |
| Methods inherited from class jmri.jmrix.powerline.SerialTrafficController |
|---|
addSerialListener, enterNormalMode, enterProgMode, enterProgModeDelayTime, forwardMessage, forwardReply, getAdapterMemo, getSensorManager, pollMessage, pollReplyHandler, removeSerialListener, sendInsteonSequence, sendSerialMessage, setAdapterMemo, setInstance, setSensorManager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jmri.jmrix.powerline.SerialInterface |
|---|
status |
| Constructor Detail |
|---|
public SpecificTrafficController(SerialSystemConnectionMemo memo)
| Method Detail |
|---|
public void sendX10Sequence(X10Sequence s,
SerialListener l)
Makes them into the local messages and then queues in order
sendX10Sequence in class SerialTrafficControllerpublic int getNumberOfIntensitySteps()
getNumberOfIntensitySteps in class SerialTrafficControllerpublic SerialMessage getSerialMessage(int length)
getSerialMessage in class SerialTrafficController
protected void forwardToPort(AbstractMRMessage m,
AbstractMRListener reply)
AbstractMRTrafficController
forwardToPort in class SerialTrafficControllerprotected AbstractMRReply newReply()
newReply in class SerialTrafficControllerpublic boolean endOfMessage(AbstractMRReply msg)
endOfMessage in class SerialTrafficController
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||