jmri.jmris.simpleserver
Class SimpleReporterServer

java.lang.Object
  extended by jmri.jmris.AbstractReporterServer
      extended by jmri.jmris.simpleserver.SimpleReporterServer

public class SimpleReporterServer
extends AbstractReporterServer

Simple Server interface between the JMRI reporter manager and a network connection

Author:
Paul Bender Copyright (C) 2011

Field Summary
 
Fields inherited from class jmri.jmris.AbstractReporterServer
reporters
 
Constructor Summary
SimpleReporterServer(DataInputStream inStream, DataOutputStream outStream)
           
 
Method Summary
 void parseStatus(String statusString)
           
 void sendErrorStatus(String reporterName)
           
 void sendReport(String reporterName, Object r)
           
 
Methods inherited from class jmri.jmris.AbstractReporterServer
addReporterToList, removeReporterFromList, setReporterReport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleReporterServer

public SimpleReporterServer(DataInputStream inStream,
                            DataOutputStream outStream)
Method Detail

sendReport

public void sendReport(String reporterName,
                       Object r)
                throws IOException
Specified by:
sendReport in class AbstractReporterServer
Throws:
IOException

sendErrorStatus

public void sendErrorStatus(String reporterName)
                     throws IOException
Specified by:
sendErrorStatus in class AbstractReporterServer
Throws:
IOException

parseStatus

public void parseStatus(String statusString)
                 throws JmriException,
                        IOException
Specified by:
parseStatus in class AbstractReporterServer
Throws:
JmriException
IOException


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