Package jmri.jmris

Class AbstractPowerServer

  • All Implemented Interfaces:
    java.beans.PropertyChangeListener, java.util.EventListener
    Direct Known Subclasses:
    JmriSRCPPowerServer, SimplePowerServer

    public abstract class AbstractPowerServer
    extends java.lang.Object
    implements java.beans.PropertyChangeListener
    Abstract interface between the JMRI power manager and a network connection
    • Method Detail

      • mgrOK

        protected boolean mgrOK()
      • propertyChange

        public void propertyChange​(java.beans.PropertyChangeEvent ev)
        Specified by:
        propertyChange in interface java.beans.PropertyChangeListener
      • sendStatus

        public abstract void sendStatus​(int Status)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • sendErrorStatus

        public abstract void sendErrorStatus()
                                      throws java.io.IOException
        Throws:
        java.io.IOException