JavaScript is disabled on your browser.
Description
Field Summary
Constructor Summary
Method Summary
Field Details
SINGLE_CREDIT_PAYLOAD_SIZE
structureSize
error
Constructor Details
SMB2Packet()
SMB2Packet(int, SMB2Dialect, SMB2MessageCommandCode)
SMB2Packet(int, SMB2Dialect, SMB2MessageCommandCode, long)
SMB2Packet(int, SMB2Dialect, SMB2MessageCommandCode, long, long)
Method Details
getSequenceNumber()
getStructureSize()
getBuffer()
write(SMBBuffer)
writeTo(SMBBuffer)
read(SMB2PacketData)
readError(SMB2PacketData)
readMessage(SMBBuffer)
isSuccess()
isIntermediateAsyncResponse()
getMaxPayloadSize()
getCreditsAssigned()
setCreditsAssigned(int)
getError()
setError(SMB2Error)
getPacket()
toString()
All Implemented Interfaces:
Packet <SMBBuffer >
Direct Known Subclasses:
PacketEncryptor.EncryptedPacketWrapper , PacketSignatory.SignedPacketWrapper , SMB2Cancel , SMB2ChangeNotifyResponse , SMB2Close , SMB2CreateRequest , SMB2CreateResponse , SMB2Echo , SMB2Flush , SMB2IoctlResponse , SMB2LockRequest , SMB2LockResponse , SMB2Logoff , SMB2MultiCreditPacket , SMB2NegotiateRequest , SMB2NegotiateResponse , SMB2QueryDirectoryResponse , SMB2QueryInfoRequest , SMB2QueryInfoResponse , SMB2ReadResponse , SMB2SessionSetup , SMB2SetInfoRequest , SMB2SetInfoResponse , SMB2TreeConnectRequest , SMB2TreeConnectResponse , SMB2TreeDisconnect , SMB2WriteResponse
Field Summary
Fields
static final int
protected int
Constructor Summary
Constructors
protected
protected
protected
Method Summary
All Methods Instance Methods Concrete Methods
The buffer from which this packet is read if it was a received packet
int
int
Returns the maximum payload size of this packet.
Method that can be overridden by Packet Wrappers to ensure that the original (typed) packet is obtainable.
long
int
boolean
Check whether this packet is an intermediate ASYNC response
final boolean
Whether this packet contains a success response or an error response
protected final void
(package private) final void
protected void
Read the packet body, this should be implemented by the various packet types.
void
void
void
protected void
Write the message fields into the buffer, as specified in the [MS-SMB2] specification.
Field Details
SINGLE_CREDIT_PAYLOAD_SIZE