Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for HandleGuid (0.07 sec)

  1. docs/smb3-features/02-persistent-handles-design.md

        
        @Test
        public void testHandleGuidGeneration() {
            HandleGuid guid1 = new HandleGuid();
            HandleGuid guid2 = new HandleGuid();
            
            assertNotEquals(guid1, guid2);
            assertEquals(16, guid1.toBytes().length);
            
            // Test round-trip
            HandleGuid guid3 = new HandleGuid(guid1.toBytes());
            assertEquals(guid1, guid3);
        }
        
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

         * @param leaseKey the associated lease key (can be null)
         * @return the handle GUID
         */
        public HandleGuid requestDurableHandle(String path, HandleType type, long timeout, Smb2LeaseKey leaseKey) {
            HandleGuid guid = new HandleGuid();
    
            // Create handle info with empty file ID (will be populated after successful create response)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

         * @param persistent true if this should be a persistent handle
         * @return the create GUID for this handle
         */
        public jcifs.internal.smb2.persistent.HandleGuid addDurableHandleV2Context(long timeoutMs, boolean persistent) {
            jcifs.internal.smb2.persistent.DurableHandleV2Request context =
                    new jcifs.internal.smb2.persistent.DurableHandleV2Request(timeoutMs, persistent);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

        }
    
        /**
         * Get the durable handle GUID from the response
         * @return the durable handle GUID or null if no durable handle was granted
         */
        public jcifs.internal.smb2.persistent.HandleGuid getDurableHandleGuid() {
            // For now, return null as the GUID is typically provided in the request context
            // and the response doesn't necessarily contain the GUID in a standard format
            return null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top