Class Dot11ChannelEntry

java.lang.Object
org.pcap4j.packet.Dot11ChannelEntry
All Implemented Interfaces:
Serializable

public final class Dot11ChannelEntry extends Object implements Serializable
IEEE802.11 Channel Entry field
         1               1
 +---------------+---------------+
 |Operating Class|    Channel    |
 +---------------+---------------+
 
Since:
pcap4j 1.7.0
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • operatingClass

      private final byte operatingClass
    • channel

      private final byte channel
  • Constructor Details

    • Dot11ChannelEntry

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

    • 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 Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object