Class Dot11LinkAdaptationControl.Mai

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Dot11LinkAdaptationControl

    public static final class Dot11LinkAdaptationControl.Mai
    extends java.lang.Object
    implements java.io.Serializable
    MAI subfield
       0   1   2   3
     +---+---+---+---+
     |MRQ|    MSI    |
     +---+---+---+---+
     
    Since:
    pcap4j 1.7.0
    Author:
    Kaito Yamada
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Mai​(boolean mrq, byte msi)  
      Mai​(byte rawData)  
    • Method Summary

      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      byte getMsi()  
      byte getRawData()  
      int hashCode()  
      boolean isMrq()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Mai

        public Mai​(boolean mrq,
                   byte msi)
        Parameters:
        mrq - mrq
        msi - msi
      • Mai

        public Mai​(byte rawData)
        Parameters:
        rawData - the raw data which the MRQ is encoded at the LSB.
    • Method Detail

      • isMrq

        public boolean isMrq()
        Returns:
        mrq
      • getMsi

        public byte getMsi()
        Returns:
        msi
      • getRawData

        public byte getRawData()
        Returns:
        the raw data
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • 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