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 packet body, this should be implemented by the various packet types.
|
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, getPacket, getSequenceNumber, getStructureSize, isIntermediateAsyncResponse, isSuccess, read, 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
SMB2PacketreadMessage 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)