jmri.jmris.srcp
Class JmriSRCPSensorServer
java.lang.Object
jmri.jmris.AbstractSensorServer
jmri.jmris.srcp.JmriSRCPSensorServer
public class JmriSRCPSensorServer
- extends AbstractSensorServer
SRCP Server interface between the JMRI Sensor manager and a
network connection
- Author:
- Paul Bender Copyright (C) 2011
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmriSRCPSensorServer
public JmriSRCPSensorServer(DataInputStream inStream,
DataOutputStream outStream)
sendStatus
public void sendStatus(String sensorName,
int Status)
throws IOException
- Specified by:
sendStatus in class AbstractSensorServer
- Throws:
IOException
sendStatus
public void sendStatus(int bus,
int address)
throws IOException
- 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
parseStatus
public void parseStatus(int bus,
int address,
int value)
throws JmriException,
IOException
- Throws:
JmriException
IOException
propertyChange
public void propertyChange(PropertyChangeEvent e)
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: