Class AsPathSegmentParser

  • public final class AsPathSegmentParser
    extends Object
    Representation of one AS Path Segment. It is, in fact, a TLV, but the length field is representing the count of AS Numbers in the collection (in its value). If the segment is of type AS_SEQUENCE, the collection is a List, if AS_SET, the collection is a Set.