public class SMB2Close extends SMB2Packet
SINGLE_CREDIT_PAYLOAD_SIZE, structureSize| Constructor and Description |
|---|
SMB2Close() |
SMB2Close(SMB2Dialect smbDialect,
long sessionId,
long treeId,
SMB2FileId fileId) |
| Modifier and Type | Method and Description |
|---|---|
long |
getAllocationSize() |
FileTime |
getChangeTime() |
FileTime |
getCreationTime() |
byte[] |
getFileAttributes() |
FileTime |
getLastAccessTime() |
FileTime |
getLastWriteTime() |
long |
getSize() |
protected void |
readMessage(SMBBuffer buffer)
Read the message, this is only called in case the response is a success response according to
#isSuccess(NtStatus) |
void |
setFileId(SMB2FileId fileId) |
protected void |
writeTo(SMBBuffer buffer)
Write the message fields into the buffer, as specified in the [MS-SMB2].pdf specification.
|
getBuffer, getCreditsAssigned, getError, getMaxPayloadSize, getMessageEndPos, getMessageStartPos, getSequenceNumber, getStructureSize, isIntermediateAsyncResponse, isSuccess, read, readError, setCreditsAssigned, toString, writepublic SMB2Close()
public SMB2Close(SMB2Dialect smbDialect, long sessionId, long treeId, SMB2FileId fileId)
protected void writeTo(SMBBuffer buffer)
SMB2PacketwriteTo in class SMB2Packetprotected void readMessage(SMBBuffer buffer) throws Buffer.BufferException
SMB2Packet#isSuccess(NtStatus)readMessage in class SMB2PacketBuffer.BufferExceptionpublic FileTime getCreationTime()
public FileTime getLastAccessTime()
public FileTime getLastWriteTime()
public FileTime getChangeTime()
public long getAllocationSize()
public long getSize()
public byte[] getFileAttributes()
public void setFileId(SMB2FileId fileId)