|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.implementation.AbstractConsistManager
jmri.jmrix.loconet.LocoNetConsistManager
public class LocoNetConsistManager
| Field Summary | |
|---|---|
(package private) static org.slf4j.Logger |
log
|
| Fields inherited from class jmri.implementation.AbstractConsistManager |
|---|
consistTable |
| Constructor Summary | |
|---|---|
LocoNetConsistManager(LocoNetSystemConnectionMemo lm)
Constructor - call the constructor for the superclass, and initialize the consist reader thread, which retrieves consist information from the command station |
|
| Method Summary | |
|---|---|
Consist |
addConsist(DccLocoAddress address)
Add a new LocoNetConsist with the given address to consistTable/consistList |
boolean |
csConsistNeedsSeperateAddress()
Does a CS consist require a separate consist address? |
boolean |
isCommandStationConsistPossible()
This implementation does support command station assisted consists, so return true. |
void |
requestUpdateFromLayout()
Request an update from the layout, loading Consists from the command station. |
protected boolean |
shouldRequestUpdateFromLayout()
Allow a request for consist updates from the layout. |
| Methods inherited from class jmri.implementation.AbstractConsistManager |
|---|
addConsistListListener, decodeErrorCode, delConsist, getConsist, getConsistList, notifyConsistListChanged, removeConsistListListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static org.slf4j.Logger log
| Constructor Detail |
|---|
public LocoNetConsistManager(LocoNetSystemConnectionMemo lm)
| Method Detail |
|---|
public boolean isCommandStationConsistPossible()
isCommandStationConsistPossible in interface ConsistManagerisCommandStationConsistPossible in class AbstractConsistManagerpublic boolean csConsistNeedsSeperateAddress()
csConsistNeedsSeperateAddress in interface ConsistManagercsConsistNeedsSeperateAddress in class AbstractConsistManagerpublic Consist addConsist(DccLocoAddress address)
addConsist in class AbstractConsistManagerpublic void requestUpdateFromLayout()
ConsistManager
requestUpdateFromLayout in interface ConsistManagerrequestUpdateFromLayout in class AbstractConsistManagerprotected boolean shouldRequestUpdateFromLayout()
AbstractConsistManager
shouldRequestUpdateFromLayout in class AbstractConsistManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||