Class NiciraMatchCtState

  • All Implemented Interfaces:
    org.onosproject.net.flow.criteria.ExtensionSelector, org.onosproject.net.flow.Extension

    public class NiciraMatchCtState
    extends org.onosproject.net.flow.AbstractExtension
    implements org.onosproject.net.flow.criteria.ExtensionSelector
    Nicira conntrack state extension selector.
    • Constructor Summary

      Constructors 
      Constructor Description
      NiciraMatchCtState​(long ctState, long mask)
      Creates a new conntrack state selector with given state.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long ctState()
      Gets the conntrack state.
      long ctStateMask()
      Gets the conntrack state mask.
      void deserialize​(byte[] data)  
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      byte[] serialize()  
      java.lang.String toString()  
      org.onosproject.net.flow.criteria.ExtensionSelectorType type()  
      • Methods inherited from class org.onosproject.net.flow.AbstractExtension

        getProperties, getPropertyValue, setPropertyValue
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.onosproject.net.flow.Extension

        getProperties, getPropertyValue, setPropertyValue
    • Constructor Detail

      • NiciraMatchCtState

        public NiciraMatchCtState​(long ctState,
                                  long mask)
        Creates a new conntrack state selector with given state.
        Parameters:
        ctState - conntrack state
        mask - conntrack state mask
    • Method Detail

      • ctState

        public long ctState()
        Gets the conntrack state.
        Returns:
        ctState
      • ctStateMask

        public long ctStateMask()
        Gets the conntrack state mask.
        Returns:
        ctStateMask
      • type

        public org.onosproject.net.flow.criteria.ExtensionSelectorType type()
        Specified by:
        type in interface org.onosproject.net.flow.criteria.ExtensionSelector
      • deserialize

        public void deserialize​(byte[] data)
        Specified by:
        deserialize in interface org.onosproject.net.flow.Extension
      • serialize

        public byte[] serialize()
        Specified by:
        serialize in interface org.onosproject.net.flow.Extension
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object