Class Dot11ProbeRequestPacket
java.lang.Object
org.pcap4j.packet.AbstractPacket
org.pcap4j.packet.Dot11ManagementPacket
org.pcap4j.packet.Dot11ProbeRequestPacket
- All Implemented Interfaces:
Serializable, Iterable<Packet>, Packet
IEEE802.11 Probe Request
- Since:
- pcap4j 1.7.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classHeader of IEEE802.11 Probe RequestNested classes/interfaces inherited from class Dot11ManagementPacket
Dot11ManagementPacket.Dot11ManagementHeaderNested classes/interfaces inherited from class AbstractPacket
AbstractPacket.AbstractBuilder, AbstractPacket.AbstractHeaderNested classes/interfaces inherited from interface Packet
Packet.Header -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Dot11ProbeRequestPacket.Dot11ProbeRequestHeaderprivate static final long -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDot11ProbeRequestPacket(byte[] rawData, int offset, int length, Dot11ProbeRequestPacket.Dot11ProbeRequestHeader h) privateDot11ProbeRequestPacket(Dot11ProbeRequestPacket.Builder builder, Dot11ProbeRequestPacket.Dot11ProbeRequestHeader h) -
Method Summary
Modifier and TypeMethodDescriptionReturns a new Builder object populated with this object's fields' values.Returns the Header object representing this packet's header.static Dot11ProbeRequestPacketnewPacket(byte[] rawData, int offset, int length) A static factory method.private static Dot11ProbeRequestPacketnewPacket(Dot11ProbeRequestPacket.Builder builder) Methods inherited from class Dot11ManagementPacket
buildRawData, buildString, calcLength, getFcs, hasValidFcsMethods inherited from class AbstractPacket
buildHexString, calcHashCode, contains, equals, get, getOuterOf, getPayload, getRawData, hashCode, iterator, length, toHexString, toStringMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
header
-
-
Constructor Details
-
Dot11ProbeRequestPacket
private Dot11ProbeRequestPacket(byte[] rawData, int offset, int length, Dot11ProbeRequestPacket.Dot11ProbeRequestHeader h) -
Dot11ProbeRequestPacket
private Dot11ProbeRequestPacket(Dot11ProbeRequestPacket.Builder builder, Dot11ProbeRequestPacket.Dot11ProbeRequestHeader h)
-
-
Method Details
-
newPacket
public static Dot11ProbeRequestPacket newPacket(byte[] rawData, int offset, int length) throws IllegalRawDataException A static factory method. This method validates the arguments byByteArrays.validateBounds(byte[], int, int), which may throw exceptions undocumented here.- Parameters:
rawData- rawDataoffset- offsetlength- length- Returns:
- a new Dot11ProbeRequestPacket object.
- Throws:
IllegalRawDataException- if parsing the raw data fails.
-
newPacket
-
getHeader
Description copied from class:AbstractPacketReturns the Header object representing this packet's header. This subclass have to override this method if the packet represented by the subclass has a header.- Specified by:
getHeaderin interfacePacket- Specified by:
getHeaderin classDot11ManagementPacket- Returns:
- the Header object representing this packet's header. May be null if the header doesn't exist
-
getBuilder
Description copied from interface:PacketReturns a new Builder object populated with this object's fields' values.- Specified by:
getBuilderin interfacePacket- Specified by:
getBuilderin classDot11ManagementPacket- Returns:
- a new Builder object populated with this object's fields values
-