Class OlcbAddress


  • public class OlcbAddress
    extends java.lang.Object
    Utilities for handling OpenLCB event messages as addresses.

    OpenLCB event messages have header information, plus an EventID in the data part. JMRI maps these into address strings.

    Forms:

    Full hex string preceeded by "x"
    Needs to be pairs of digits: 0123, not 123
    Full 8 byte ID as pairs separated by "."
    Note: the check() routine does a full, expensive validity check of the name. All other operations assume correctness, diagnose some invalid-format strings, but may appear to successfully handle other invalid forms.