Package jmri

Class DccLocoAddress

  • All Implemented Interfaces:
    Direct Known Subclasses:

    public class DccLocoAddress
    extends java.lang.Object
    implements LocoAddress
    Encapsulate information for a DCC Locomotive Decoder Address. In particular, this handles the "short" (standard) vs "extended" (long) address selection. An address must be one of these, hence short vs long is encoded as a boolean. Once created, the number and long/short status cannot be changed.