Class SMB2CreateResponse
java.lang.Object
com.hierynomus.smb.SMBPacket<SMB2PacketData, SMB2PacketHeader>
com.hierynomus.mssmb2.SMB2Packet
com.hierynomus.mssmb2.messages.SMB2CreateResponse
[MS-SMB2].pdf 2.2.14 SMB2 CREATE Response
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FileTimeprivate SMB2CreateActionprivate FileTimeprivate Set<FileAttributes> private SMB2FileIdprivate FileTimeprivate FileTimeFields inherited from class SMB2Packet
SINGLE_CREDIT_PAYLOAD_SIZE, structureSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidreadMessage(SMBBuffer buffer) Read the packet body, this should be implemented by the various packet types.voidsetFileAttributes(Set<FileAttributes> fileAttributes) voidsetFileId(SMB2FileId fileId) Methods inherited from class SMB2Packet
getBuffer, getCreditsAssigned, getError, getMaxPayloadSize, getPacket, getSequenceNumber, getStructureSize, isIntermediateAsyncResponse, isSuccess, read, setCreditsAssigned, setError, toString, write, writeTo
-
Field Details
-
createAction
-
creationTime
-
lastAccessTime
-
lastWriteTime
-
changeTime
-
fileAttributes
-
fileId
-
-
Constructor Details
-
SMB2CreateResponse
public SMB2CreateResponse()
-
-
Method Details
-
readMessage
Description copied from class:SMB2PacketRead the packet body, this should be implemented by the various packet types.- Overrides:
readMessagein classSMB2Packet- Parameters:
buffer-- Throws:
Buffer.BufferException
-
getCreateAction
-
getCreationTime
-
getLastAccessTime
-
getLastWriteTime
-
getChangeTime
-
getFileAttributes
-
getFileId
-
setFileAttributes
-
setFileId
-