jmri.jmris
Class AbstractTurnoutServer
java.lang.Object
jmri.jmris.AbstractTurnoutServer
- Direct Known Subclasses:
- JmriSRCPTurnoutServer, SimpleTurnoutServer
public abstract class AbstractTurnoutServer
- extends Object
Abstract interface between the a JMRI turnout and a
network connection
- Author:
- Paul Bender Copyright (C) 2010
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
turnouts
protected ArrayList<String> turnouts
AbstractTurnoutServer
public AbstractTurnoutServer()
sendStatus
public abstract void sendStatus(String turnoutName,
int Status)
throws IOException
- Throws:
IOException
sendErrorStatus
public abstract void sendErrorStatus(String turnoutName)
throws IOException
- Throws:
IOException
parseStatus
public abstract void parseStatus(String statusString)
throws JmriException,
IOException
- Throws:
JmriException
IOException
addTurnoutToList
protected void addTurnoutToList(String turnoutName)
removeTurnoutFromList
protected void removeTurnoutFromList(String turnoutName)
closeTurnout
public void closeTurnout(String turnoutName)
throwTurnout
public void throwTurnout(String turnoutName)
Copyright © 1997 - 2011 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: