Class PortSeg.SlotParser

  • All Implemented Interfaces:
    PathTokenParser
    Enclosing class:
    PortSeg

    public static class PortSeg.SlotParser
    extends java.lang.Object
    implements PathTokenParser
    A port segment with port #1 is reserved for backplanes. The address must be a slot number that fits in an unsigned short. This parser is expected to registered for the 'slot' keyword.
    • Constructor Summary

      Constructors 
      Constructor Description
      SlotParser()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CipPath parse​(java.util.List<java.lang.String> tokens)
      Given the parameters for a token as a list of strings, return a list of Path Segments.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SlotParser

        public SlotParser()
    • Method Detail

      • parse

        public CipPath parse​(java.util.List<java.lang.String> tokens)
        Description copied from interface: PathTokenParser
        Given the parameters for a token as a list of strings, return a list of Path Segments. The keyword token is already removed from the list. This method must remove the parameter tokens it consumes.
        Specified by:
        parse in interface PathTokenParser
        Returns: