Class OfdpaGroupHandlerUtility.GroupInfo

  • Enclosing class:
    OfdpaGroupHandlerUtility

    public static class OfdpaGroupHandlerUtility.GroupInfo
    extends java.lang.Object
    Utility class for moving group information around. Example: Suppose we are trying to create a group-chain A-B-C-D, where A is the top level group, and D is the inner-most group, typically L2 Interface. The innerMostGroupDesc is always D. At various stages of the creation process the nextGroupDesc may be C or B. The nextGroupDesc exists to inform the referencing group about which group it needs to point to, and wait for. In some cases the group chain may simply be A-B. In this case, both innerMostGroupDesc and nextGroupDesc will be B.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.onosproject.net.group.GroupDescription innerMostGroupDesc()
      Getter for innerMostGroupDesc.
      org.onosproject.net.group.GroupDescription nextGroupDesc()
      Getter for the next group description.
      void nextGroupDesc​(org.onosproject.net.group.GroupDescription nextGroupDesc)
      Setter of nextGroupDesc.
      • Methods inherited from class java.lang.Object

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

      • innerMostGroupDesc

        public org.onosproject.net.group.GroupDescription innerMostGroupDesc()
        Getter for innerMostGroupDesc.
        Returns:
        the inner most group description
      • nextGroupDesc

        public org.onosproject.net.group.GroupDescription nextGroupDesc()
        Getter for the next group description.
        Returns:
        the next group description
      • nextGroupDesc

        public void nextGroupDesc​(org.onosproject.net.group.GroupDescription nextGroupDesc)
        Setter of nextGroupDesc.
        Parameters:
        nextGroupDesc - the given value to set