jmri.jmrix.xpa
Class XpaTurnoutManager

java.lang.Object
  extended by jmri.AbstractManager
      extended by jmri.AbstractTurnoutManager
          extended by jmri.jmrix.xpa.XpaTurnoutManager
All Implemented Interfaces:
PropertyChangeListener, EventListener, Manager, TurnoutManager

public class XpaTurnoutManager
extends AbstractTurnoutManager

Implement turnout manager for Xpa+Modem connections to XPressNet Based systems.

System names are "PTnnn", where nnn is the turnout number without padding.

Author:
Paul Bender Copyright (C) 2004

Field Summary
 
Fields inherited from class jmri.AbstractManager
_tsys, _tuser
 
Constructor Summary
XpaTurnoutManager()
           
 
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.
static XpaTurnoutManager instance()
           
 char systemLetter()
           
 
Methods inherited from class jmri.AbstractTurnoutManager
askControlType, askNumControlBits, getBySystemName, getByUserName, getClosedText, getThrownText, getTurnout, getValidOperationTypes, newTurnout, provideTurnout, typeLetter
 
Methods inherited from class jmri.AbstractManager
addPropertyChangeListener, deregister, dispose, firePropertyChange, getInstanceBySystemName, getInstanceByUserName, getSystemNameList, makeSystemName, propertyChange, register, removePropertyChangeListener
 
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, makeSystemName, register, removePropertyChangeListener
 

Constructor Detail

XpaTurnoutManager

public XpaTurnoutManager()
Method Detail

systemLetter

public char systemLetter()
Returns:
The system-specific prefix letter for a specific implementation

createNewTurnout

public Turnout createNewTurnout(String systemName,
                                String userName)
Description copied from class: AbstractTurnoutManager
Internal method to invoke the factory, after all the logic for returning an existing method has been invoked.

Specified by:
createNewTurnout in class AbstractTurnoutManager
Returns:
never null

instance

public static XpaTurnoutManager instance()


Copyright © 1997 - 2008 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: SourceForge_Logo