Class SMB2LockRequest

  • All Implemented Interfaces:
    Packet<SMBBuffer>

    public class SMB2LockRequest
    extends SMB2Packet
    [MS-SMB2].pdf 2.2.26 SMB2 LOCK Request
    • Constructor Detail

      • SMB2LockRequest

        public SMB2LockRequest​(SMB2Dialect dialect,
                               long sessionId,
                               long treeId,
                               short lockSequenceNumber,
                               int lockSequenceIndex,
                               SMB2FileId fileId,
                               java.util.List<SMB2LockElement> lockElements)
    • 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