Package jmri.jmris

Class AbstractRouteServer


  • public abstract class AbstractRouteServer
    extends java.lang.Object
    Abstract interface between the a JMRI route and a network connection
    • Method Detail

      • sendStatus

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

        public abstract void sendErrorStatus​(java.lang.String route)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • addRouteToList

        protected void addRouteToList​(java.lang.String routeName)
      • setRoute

        public void setRoute​(java.lang.String routeName)
                      throws java.io.IOException
        Throws:
        java.io.IOException