Class SpringOpenTTP.SpringOpenGroup

  • All Implemented Interfaces:
    org.onosproject.net.behaviour.NextGroup
    Enclosing class:
    SpringOpenTTP

    protected class SpringOpenTTP.SpringOpenGroup
    extends java.lang.Object
    implements org.onosproject.net.behaviour.NextGroup
    SpringOpenGroup can either serve as storage for a GroupKey which can be used to fetch the group from the Group Service, or it can be serve as storage for Traffic Treatments which can be used as flow actions. In the latter case, we refer to this as a dummy group.
    • Constructor Summary

      Constructors 
      Constructor Description
      SpringOpenGroup​(org.onosproject.net.group.GroupKey key, org.onosproject.net.flow.TrafficTreatment treatment)
      Storage for a GroupKey or a TrafficTreatment.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] data()  
      boolean dummy()  
      org.onosproject.net.group.GroupKey key()  
      org.onosproject.net.flow.TrafficTreatment treatment()  
      • Methods inherited from class java.lang.Object

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

      • SpringOpenGroup

        public SpringOpenGroup​(org.onosproject.net.group.GroupKey key,
                               org.onosproject.net.flow.TrafficTreatment treatment)
        Storage for a GroupKey or a TrafficTreatment. One of the params to this constructor must be null.
        Parameters:
        key - represents a GroupKey
        treatment - represents flow actions in a dummy group
    • Method Detail

      • key

        public org.onosproject.net.group.GroupKey key()
      • dummy

        public boolean dummy()
      • treatment

        public org.onosproject.net.flow.TrafficTreatment treatment()
      • data

        public byte[] data()
        Specified by:
        data in interface org.onosproject.net.behaviour.NextGroup