jmri.jmris
Class AbstractReporterServer

Show UML class diagram
java.lang.Object
  extended by 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


Nested Class Summary
(package private)  class AbstractReporterServer.ReporterListener
           
 
Constructor Summary
AbstractReporterServer()
           
 
Method Summary
protected  void addReporterToList(String reporterName)
           
 void dispose()
           
 Reporter initReporter(String reporterName)
           
abstract  void parseStatus(String statusString)
           
protected  void removeReporterFromList(String reporterName)
           
abstract  void sendErrorStatus(String reporter)
           
abstract  void sendReport(String reporter, Object r)
           
 void setReporterReport(String reporterName, Object r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractReporterServer

public AbstractReporterServer()
Method Detail

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)

dispose

public void dispose()


Copyright © 1997-2014 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