jmri.jmris
Class AbstractLightServer
java.lang.Object
jmri.jmris.AbstractLightServer
- Direct Known Subclasses:
- SimpleLightServer
public abstract class AbstractLightServer
- extends Object
Abstract interface between the a JMRI Light 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 |
lights
protected ArrayList<String> lights
AbstractLightServer
public AbstractLightServer()
sendStatus
public abstract void sendStatus(String lightName,
int Status)
throws IOException
- Throws:
IOException
sendErrorStatus
public abstract void sendErrorStatus(String lightName)
throws IOException
- Throws:
IOException
parseStatus
public abstract void parseStatus(String statusString)
throws JmriException,
IOException
- Throws:
JmriException
IOException
addLightToList
protected void addLightToList(String lightName)
removeLightFromList
protected void removeLightFromList(String lightName)
lightOff
public void lightOff(String lightName)
lightOn
public void lightOn(String lightName)
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: