Package com.hierynomus.mssmb2.messages
Class SMB2Flush
java.lang.Object
com.hierynomus.smb.SMBPacket<SMB2PacketData,SMB2PacketHeader>
com.hierynomus.mssmb2.SMB2Packet
com.hierynomus.mssmb2.messages.SMB2Flush
[MS-SMB2].pdf 2.2.17 SMB2 FLUSH Request / 2.2.18 SMB2 FLUSH Response
-
Field Summary
FieldsFields inherited from class com.hierynomus.mssmb2.SMB2Packet
SINGLE_CREDIT_PAYLOAD_SIZE, structureSize
-
Constructor Summary
ConstructorsConstructorDescriptionSMB2Flush
(SMB2Dialect smbDialect, SMB2FileId fileId, long sessionId, long treeId) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
readMessage
(SMBBuffer buffer) Read the packet body, this should be implemented by the various packet types.protected void
Write the message fields into the buffer, as specified in the [MS-SMB2] specification.Methods inherited from class com.hierynomus.mssmb2.SMB2Packet
getBuffer, getCreditsAssigned, getError, getMaxPayloadSize, getPacket, getSequenceNumber, getStructureSize, isIntermediateAsyncResponse, isSuccess, read, setCreditsAssigned, setError, toString, write
-
Field Details
-
fileId
-
-
Constructor Details
-
SMB2Flush
public SMB2Flush() -
SMB2Flush
-
-
Method Details
-
writeTo
Description copied from class:SMB2Packet
Write the message fields into the buffer, as specified in the [MS-SMB2] specification.- Overrides:
writeTo
in classSMB2Packet
- Parameters:
buffer
-
-
readMessage
Description copied from class:SMB2Packet
Read the packet body, this should be implemented by the various packet types.- Overrides:
readMessage
in classSMB2Packet
- Parameters:
buffer
-- Throws:
Buffer.BufferException
-