Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for HandleGuid (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

     * byte ordering for the individual components.
     */
    public class HandleGuid implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The underlying UUID representing this handle GUID
         */
        private final UUID guid;
    
        /**
         * Create a new random handle GUID
         */
        public HandleGuid() {
            this.guid = UUID.randomUUID();
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

            this.createGuid = new HandleGuid();
        }
    
        /**
         * Create a new durable handle V2 request with specific GUID
         * @param timeoutMs the timeout in milliseconds
         * @param persistent true if this should be a persistent handle
         * @param createGuid the create GUID to use
         */
        public DurableHandleV2Request(long timeoutMs, boolean persistent, HandleGuid createGuid) {
            this.timeoutMs = timeoutMs;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

         */
        private final String path;
    
        /**
         * The create GUID used to uniquely identify this handle for reconnection
         */
        private final HandleGuid createGuid;
    
        /**
         * The 16-byte file ID returned by the server for this handle
         */
        private final byte[] fileId;
    
        /**
         * The type of handle (DURABLE_V1, DURABLE_V2, or PERSISTENT)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
Back to top