Class SMB2Close

  • All Implemented Interfaces:
    Packet<SMBBuffer>

    public class SMB2Close
    extends SMB2Packet
    [MS-SMB2].pdf 2.2.15 SMB2 CLOSE Request / 2.2.16 SMB2 CLOSE Response
    • Constructor Detail

      • SMB2Close

        public SMB2Close()
      • SMB2Close

        public SMB2Close​(SMB2Dialect smbDialect,
                         long sessionId,
                         long treeId,
                         SMB2FileId fileId)
    • Method Detail

      • writeTo

        protected void writeTo​(SMBBuffer buffer)
        Description copied from class: SMB2Packet
        Write the message fields into the buffer, as specified in the [MS-SMB2] specification.
        Overrides:
        writeTo in class SMB2Packet
      • getCreationTime

        public FileTime getCreationTime()
      • getLastAccessTime

        public FileTime getLastAccessTime()
      • getLastWriteTime

        public FileTime getLastWriteTime()
      • getChangeTime

        public FileTime getChangeTime()
      • getAllocationSize

        public long getAllocationSize()
      • getSize

        public long getSize()
      • getFileAttributes

        public byte[] getFileAttributes()
      • setFileId

        public void setFileId​(SMB2FileId fileId)