jmri.jmris
Class AbstractSensorServer

Show UML class diagram
java.lang.Object
  extended by jmri.jmris.AbstractSensorServer
All Implemented Interfaces:
PropertyChangeListener, EventListener
Direct Known Subclasses:
simpleSensorServer

public abstract class AbstractSensorServer
extends Object
implements PropertyChangeListener

Abstract interface between the a JMRI sensor and a network connection


Constructor Summary
AbstractSensorServer()
           
 
Method Summary
abstract  void parseStatus(String statusString)
           
 void propertyChange(PropertyChangeEvent e)
           
abstract  void sendErrorStatus()
           
abstract  void sendStatus(int Status)
           
 void setSensorActive(String Sensor)
           
 void setSensorInactive(String Sensor)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSensorServer

public AbstractSensorServer()
Method Detail

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

setSensorActive

public void setSensorActive(String Sensor)

setSensorInactive

public void setSensorInactive(String Sensor)

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: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads