jmri.jmris.srcp
Class JmriSRCPPowerServer

java.lang.Object
  extended by jmri.jmris.AbstractPowerServer
      extended by jmri.jmris.srcp.JmriSRCPPowerServer
All Implemented Interfaces:
PropertyChangeListener, EventListener

public class JmriSRCPPowerServer
extends AbstractPowerServer

SRCP interface between the JMRI power manager and a network connection

Author:
Paul Bender Copyright (C) 2010

Constructor Summary
JmriSRCPPowerServer(DataOutputStream outStream)
           
 
Method Summary
 void parseStatus(String statusString)
           
 void sendErrorStatus()
           
 void sendStatus(int Status)
           
 
Methods inherited from class jmri.jmris.AbstractPowerServer
dispose, mgrOK, propertyChange, setOffStatus, setOnStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmriSRCPPowerServer

public JmriSRCPPowerServer(DataOutputStream outStream)
Method Detail

sendStatus

public void sendStatus(int Status)
                throws IOException
Specified by:
sendStatus in class AbstractPowerServer
Throws:
IOException

sendErrorStatus

public void sendErrorStatus()
                     throws IOException
Specified by:
sendErrorStatus in class AbstractPowerServer
Throws:
IOException

parseStatus

public void parseStatus(String statusString)
                 throws JmriException
Specified by:
parseStatus in class AbstractPowerServer
Throws:
JmriException


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