Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 204 for leases (0.32 sec)

  1. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java

     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.lease;
    
    import java.security.SecureRandom;
    import java.util.Arrays;
    
    /**
     * SMB2 Lease Key
     *
     * Represents a 16-byte lease key used to identify leases in SMB2/SMB3
     * MS-SMB2 2.2.13.2.8
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseState.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.lease;
    
    /**
     * Defines directory lease state constants for SMB2/SMB3 directory leasing.
     *
     * This class provides constants and utility methods for managing directory lease states
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

            return CONTEXT_NAME_BYTES;
        }
    
        /**
         * Gets the lease key for this V2 lease request
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Sets the lease key for this V2 lease request
         * @param leaseKey the lease key to set
         */
        public void setLeaseKey(Smb2LeaseKey leaseKey) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java

         * @return the lease state
         */
        public int getLeaseState() {
            return leaseState;
        }
    
        /**
         * Gets the lease flags for this acknowledgment
         * @return the lease flags
         */
        public int getLeaseFlags() {
            return flags;
        }
    
        /**
         * Sets the lease flags for this acknowledgment
         * @param flags the lease flags to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java

         * @return the granted lease state
         */
        public int getLeaseState() {
            return leaseState;
        }
    
        /**
         * Gets the lease flags from the V2 server response
         * @return the lease flags
         */
        public int getLeaseFlags() {
            return leaseFlags;
        }
    
        /**
         * Gets the parent lease key from the V2 response
         * @return the parent lease key
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java

            return CONTEXT_NAME_BYTES;
        }
    
        /**
         * Gets the lease key from the server response
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Gets the lease state granted by the server
         * @return the granted lease state
         */
        public int getLeaseState() {
            return leaseState;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

            super(config);
        }
    
        /**
         * Gets the lease key from the break response
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Gets the granted lease state from the break response
         * @return the lease state
         */
        public int getLeaseState() {
            return leaseState;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java

     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.lease;
    
    /**
     * SMB2 Lease State constants
     *
     * MS-SMB2 2.2.13.2.8
     */
    public class Smb2LeaseState {
    
        /**
         * No lease caching
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

            assertArrayEquals(testKey.getKey(), encodedKey);
    
            // Verify lease state at offset 40 (24 + 16 for key)
            assertEquals(testState, SMBUtil.readInt4(buffer, 40));
    
            // Verify lease flags at offset 44 (40 + 4 for state)
            assertEquals(0, SMBUtil.readInt4(buffer, 44));
    
            // Verify lease duration at offset 48 (44 + 4 for flags) - should be 0 (reserved)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        /**
         * Gets the lease key for this lease request
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Sets the lease key for this lease request
         * @param leaseKey the lease key to set
         */
        public void setLeaseKey(Smb2LeaseKey leaseKey) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top