Enum LnCommandStationType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<LnCommandStationType>

    @Immutable
    public enum LnCommandStationType
    extends java.lang.Enum<LnCommandStationType>
    Enum to carry command-station specific information for LocoNet implementations.

    Because you can't inherit and extend enums, this will accumulate information from subtypes. We use reflection to deal with that.

    This is (slowly) centralizing all of the command-station-specific dependencies for startup. It does _not_ handle the connection-specific dependencies for e.g. the connections via networks and Uhlenbrock serial/USB; those are still done via port adapters, special packetizers et al.


    This file is part of JMRI.

    JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.

    JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.