jmri.jmris
Class AbstractPowerServer

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

public abstract class AbstractPowerServer
extends Object
implements PropertyChangeListener

Abstract interface between the JMRI power manager and a network connection


Constructor Summary
AbstractPowerServer()
           
 
Method Summary
 void dispose()
           
abstract  void parseStatus(String statusString)
           
 void propertyChange(PropertyChangeEvent ev)
           
abstract  void sendErrorStatus()
           
abstract  void sendStatus(int Status)
           
 void setOffStatus()
           
 void setOnStatus()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPowerServer

public AbstractPowerServer()
Method Detail

setOnStatus

public void setOnStatus()

setOffStatus

public void setOffStatus()

propertyChange

public void propertyChange(PropertyChangeEvent ev)
Specified by:
propertyChange in interface PropertyChangeListener

dispose

public void dispose()

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
Throws:
JmriException


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