|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.managers.AbstractManager
jmri.managers.AbstractTurnoutManager
jmri.jmrix.lenz.XNetTurnoutManager
public class XNetTurnoutManager
Implement turnout manager.
System names are "XTnnn", where nnn is the turnout number without padding.
| Field Summary | |
|---|---|
protected String |
prefix
|
protected XNetTrafficController |
tc
|
| Fields inherited from class jmri.managers.AbstractManager |
|---|
_tsys, _tuser |
| Fields inherited from interface jmri.Manager |
|---|
AUDIO, BLOCKBOSS, BLOCKS, CONDITIONALS, IDTAGS, LAYOUTBLOCKS, LIGHTS, LOGIXS, MEMORIES, OBLOCKS, PANELFILES, REPORTERS, ROUTES, SECTIONS, SENSORGROUPS, SENSORS, SIGNALGROUPS, SIGNALHEADS, SIGNALMASTLOGICS, SIGNALMASTS, TIMEBASE, TRANSITS, TURNOUTS, WARRANTS |
| Constructor Summary | |
|---|---|
XNetTurnoutManager(XNetTrafficController controller,
String prefix)
|
|
| Method Summary | |
|---|---|
Turnout |
createNewTurnout(String systemName,
String userName)
Internal method to invoke the factory, after all the logic for returning an existing method has been invoked. |
String |
getClosedText()
Get text to be used for the Turnout.CLOSED state in user communication. |
String |
getSystemPrefix()
Provides access to the system prefix string. |
String |
getThrownText()
Get text to be used for the Turnout.THROWN state in user communication. |
static XNetTurnoutManager |
instance()
Deprecated. |
void |
message(XNetMessage l)
Member function that will be invoked by a XNetInterface implementation to forward a XNet message sent to the layout. |
void |
message(XNetReply l)
Member function that will be invoked by a XNetInterface implementation to forward a XNet message from the layout. |
void |
notifyTimeout(XNetMessage msg)
Member function invoked by an XNetInterface implementation to notify * a sender that an outgoing message timed out and was dropped from the * queue. |
| Methods inherited from class jmri.managers.AbstractManager |
|---|
addPropertyChangeListener, deregister, dispose, firePropertyChange, getBeanBySystemName, getInstanceBySystemName, getInstanceByUserName, getSystemNameArray, getSystemNameList, makeSystemName, propertyChange, register, registerSelf, removePropertyChangeListener, systemLetter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jmri.TurnoutManager |
|---|
getSystemNameList |
| Methods inherited from interface jmri.Manager |
|---|
addPropertyChangeListener, deregister, dispose, getBeanBySystemName, getSystemNameArray, makeSystemName, register, removePropertyChangeListener, systemLetter |
| Field Detail |
|---|
protected XNetTrafficController tc
protected String prefix
| Constructor Detail |
|---|
public XNetTurnoutManager(XNetTrafficController controller,
String prefix)
| Method Detail |
|---|
public String getSystemPrefix()
Manager
getSystemPrefix in interface Manager
public Turnout createNewTurnout(String systemName,
String userName)
AbstractTurnoutManager
createNewTurnout in class AbstractTurnoutManagerpublic void message(XNetReply l)
XNetListener
message in interface XNetListenerl - The received XNet message. Note that this same object
may be presented to multiple users. It should not be
modified here.public String getClosedText()
getClosedText in interface TurnoutManagergetClosedText in class AbstractTurnoutManagerpublic String getThrownText()
getThrownText in interface TurnoutManagergetThrownText in class AbstractTurnoutManagerpublic void message(XNetMessage l)
XNetListener
message in interface XNetListenerl - The received XNet message. Note that this same object
may be presented to multiple users. It should not be
modified here.public void notifyTimeout(XNetMessage msg)
XNetListener
notifyTimeout in interface XNetListener@Deprecated public static XNetTurnoutManager instance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||