jmri.jmris
Class AbstractLightServer
java.lang.Object
jmri.jmris.AbstractLightServer
- All Implemented Interfaces:
- PropertyChangeListener, EventListener
- Direct Known Subclasses:
- simpleLightServer
public abstract class AbstractLightServer
- extends Object
- implements PropertyChangeListener
Abstract interface between the a JMRI Light and a
network connection
AbstractLightServer
public AbstractLightServer()
sendStatus
public abstract void sendStatus(int Status)
throws IOException
- Throws:
IOException
sendErrorStatus
public abstract void sendErrorStatus()
throws IOException
- Throws:
IOException
parseStatus
public abstract void parseStatus(String statusString)
throws JmriException,
IOException
- Throws:
JmriException
IOException
lightOff
public void lightOff(String Light)
lightOn
public void lightOn(String Light)
propertyChange
public void propertyChange(PropertyChangeEvent e)
- Specified by:
propertyChange in interface PropertyChangeListener
Copyright © 1997 - 2010 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: