jmri.jmris
Class AbstractReporterServer
java.lang.Object
jmri.jmris.AbstractReporterServer
- Direct Known Subclasses:
- JsonReporterServer, SimpleReporterServer
public abstract class AbstractReporterServer
- extends Object
Abstract interface between the a JMRI reporter and a network connection
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reporters
protected ArrayList<String> reporters
newState
String newState
log
static org.slf4j.Logger log
AbstractReporterServer
public AbstractReporterServer()
sendReport
public abstract void sendReport(String reporter,
Object r)
throws IOException
- Throws:
IOException
sendErrorStatus
public abstract void sendErrorStatus(String reporter)
throws IOException
- Throws:
IOException
parseStatus
public abstract void parseStatus(String statusString)
throws JmriException,
IOException
- Throws:
JmriException
IOException
addReporterToList
protected void addReporterToList(String reporterName)
removeReporterFromList
protected void removeReporterFromList(String reporterName)
initReporter
public Reporter initReporter(String reporterName)
setReporterReport
public void setReporterReport(String reporterName,
Object r)
Copyright © 1997-2013 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: