Package jmri
Interface LocoAddress
-
- All Known Implementing Classes:
DccLocoAddress
,EcosLocoAddress
,OpenLcbLocoAddress
@Immutable public interface LocoAddress
Interface for generic Locomotive Address. Note that this is not DCC-specific.
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
LocoAddress.Protocol
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getNumber()
LocoAddress.Protocol
getProtocol()
-
-
-
Method Detail
-
getNumber
int getNumber()
-
getProtocol
LocoAddress.Protocol getProtocol()
-
-