Class Dot11ChannelEntry

  • All Implemented Interfaces:
    java.io.Serializable

    public final class Dot11ChannelEntry
    extends java.lang.Object
    implements java.io.Serializable
    IEEE802.11 Channel Entry field
             1               1
     +---------------+---------------+
     |Operating Class|    Channel    |
     +---------------+---------------+
     
    Since:
    pcap4j 1.7.0
    Author:
    Kaito Yamada
    See Also:
    IEEE802.11, Serialized Form
    • Constructor Detail

      • Dot11ChannelEntry

        public Dot11ChannelEntry​(byte operatingClass,
                                 byte channel)
        Parameters:
        operatingClass - operatingClass
        channel - channel
    • Method Detail

      • getOperatingClass

        public byte getOperatingClass()
        Returns:
        operatingClass
      • getOperatingClassAsInt

        public int getOperatingClassAsInt()
        Returns:
        operatingClass
      • getChannel

        public byte getChannel()
        Returns:
        channel
      • getChannelAsInt

        public int getChannelAsInt()
        Returns:
        channel
      • 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