jmri.jmris.simpleserver
Class SimpleSensorServer
java.lang.Object
jmri.jmris.AbstractSensorServer
jmri.jmris.simpleserver.SimpleSensorServer
public class SimpleSensorServer
- extends AbstractSensorServer
Simple Server interface between the JMRI Sensor manager 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 |
SimpleSensorServer
public SimpleSensorServer(DataInputStream inStream,
DataOutputStream outStream)
sendStatus
public void sendStatus(String sensorName,
int Status)
throws IOException
- Specified by:
sendStatus in class AbstractSensorServer
- Throws:
IOException
sendErrorStatus
public void sendErrorStatus(String sensorName)
throws IOException
- Specified by:
sendErrorStatus in class AbstractSensorServer
- Throws:
IOException
parseStatus
public void parseStatus(String statusString)
throws JmriException,
IOException
- Specified by:
parseStatus in class AbstractSensorServer
- Throws:
JmriException
IOException
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: