Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for oplockLevel (0.7 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            void testReadDifferentOplockLevels(byte oplockLevel) throws Exception {
                byte[] buffer = createValidOplockBreakBuffer(oplockLevel, createTestData(16));
    
                int bytesRead = notification.readBytesWireFormat(buffer, 0);
                assertEquals(24, bytesRead);
    
                Field oplockLevelField = Smb2OplockBreakNotification.class.getDeclaredField("oplockLevel");
                oplockLevelField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndXResponse.java

            return 0;
        }
    
        @Override
        public String toString() {
            return ("SmbComNTCreateAndXResponse[" + super.toString() + ",oplockLevel=" + oplockLevel + ",fid=" + fid + ",createAction=0x"
                    + Hexdump.toHexString(createAction, 4) + ",creationTime=" + new Date(creationTime) + ",lastAccessTime="
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#toString()
         */
        @Override
        public String toString() {
            return "Smb2OpblockBreakNotification[oplockLevel=" + this.oplockLevel + ",fileId=" + Hexdump.toHexString(this.fileId) + "]";
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

            this.isExtended = isExtended;
        }
    
        /**
         * Gets the oplock level granted.
         *
         * @return the oplockLevel
         */
        public final byte getOplockLevel() {
            return this.oplockLevel;
        }
    
        /**
         * Gets the file identifier.
         *
         * @return the fid
         */
        public final int getFid() {
            return this.fid;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

            }
            super.prepare(next);
        }
    
        /**
         * Get the oplock level granted by the server
         * @return the oplockLevel
         */
        public final byte getOplockLevel() {
            return this.oplockLevel;
        }
    
        /**
         * Get the open flags returned by the server
         * @return the flags
         */
        public final byte getOpenFlags() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            setRequestedOplockLevel(SMB2_OPLOCK_LEVEL_LEASE);
        }
    
        /**
         * Remove lease contexts and fall back to oplock
         * @param oplockLevel the oplock level to fall back to
         */
        public void fallbackToOplock(byte oplockLevel) {
            // Remove any lease contexts
            if (this.createContexts != null) {
                CreateContextRequest[] filteredContexts = null;
                int count = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
Back to top