Package jmri.jmris.srcp
Class JmriSRCPSensorServer
java.lang.Object
jmri.jmris.AbstractSensorServer
jmri.jmris.srcp.JmriSRCPSensorServer
- All Implemented Interfaces:
PropertyChangeListener,EventListener
SRCP Server interface between the JMRI Sensor manager and a network
connection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddSensorToList(String sensorName) voidparseStatus(int bus, int address, int value) voidparseStatus(String statusString) voidprotected voidremoveSensorFromList(String sensorName) voidsendErrorStatus(String sensorName) voidsendStatus(int bus, int address) voidsendStatus(String sensorName, int Status) Methods inherited from class jmri.jmris.AbstractSensorServer
dispose, initSensor, setSensorActive, setSensorInactive
-
Constructor Details
-
JmriSRCPSensorServer
-
-
Method Details
-
sendStatus
- Specified by:
sendStatusin classAbstractSensorServer- Throws:
IOException
-
sendStatus
- Throws:
IOException
-
sendErrorStatus
- Specified by:
sendErrorStatusin classAbstractSensorServer- Throws:
IOException
-
parseStatus
- Specified by:
parseStatusin classAbstractSensorServer- Throws:
JmriExceptionIOException
-
parseStatus
- Throws:
IOException
-
addSensorToList
- Overrides:
addSensorToListin classAbstractSensorServer
-
removeSensorFromList
- Overrides:
removeSensorFromListin classAbstractSensorServer
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-