Class SMB2PacketData
- All Implemented Interfaces:
PacketData<SMBBuffer>
- Direct Known Subclasses:
SMB2DecryptedPacketData
Represents the partially deserialized SMB2Packet contents.
The SMB2 Header is always present and has a fixed layout. The packet data itself varies based on the SMB2MessageCommandCode in the header,
together with the NtStatus.
-
Field Summary
Fields inherited from class SMBPacketData
dataBuffer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongbooleanCheck whether this Packet is part of a Compounded messagebooleanbooleanCheck whether this packet is an intermediate ASYNC responsebooleanCheck whether this is an SMB2_OPLOCK_BREAK Notification packetprotected booleanCheck whether this packetData has ansuccessstatusnext()toString()Methods inherited from class SMBPacketData
getDataBuffer, getHeader, readHeader
-
Constructor Details
-
SMB2PacketData
- Throws:
Buffer.BufferException
-
SMB2PacketData
SMB2PacketData(SMBBuffer buffer) throws Buffer.BufferException - Throws:
Buffer.BufferException
-
-
Method Details
-
getSequenceNumber
public long getSequenceNumber() -
isSuccess
-
isIntermediateAsyncResponse
public boolean isIntermediateAsyncResponse()Check whether this packet is an intermediate ASYNC response -
isOplockBreakNotification
public boolean isOplockBreakNotification()Check whether this is an SMB2_OPLOCK_BREAK Notification packet -
isCompounded
public boolean isCompounded()Check whether this Packet is part of a Compounded message- Returns:
-
next
- Throws:
Buffer.BufferException
-
isDecrypted
public boolean isDecrypted() -
toString
-