Package jmri.jmrix.openlcb
Class OpenLcbLocoAddress
java.lang.Object
jmri.DccLocoAddress
jmri.jmrix.openlcb.OpenLcbLocoAddress
- All Implemented Interfaces:
LocoAddress
public class OpenLcbLocoAddress extends DccLocoAddress
Encapsulate information for an OpenLCB Locomotive Decoder Address.
The address information is an OpenLCB node ID.
This should not be a child of DccLocoAddress, but rather of LocoAddress. But
the code isn't up to that right now.
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description (package private) org.openlcb.NodeID
node
-
Constructor Summary
Constructors Constructor Description OpenLcbLocoAddress(org.openlcb.NodeID node)
-
Method Summary
-
Field Details
-
Constructor Details
-
Method Details
-
equals
- Overrides:
equals
in classDccLocoAddress
-
hashCode
- Overrides:
hashCode
in classDccLocoAddress
-
getNode
-