Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for updateHandleFileId (0.06 sec)

  1. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

            byte[] fileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId[i] = (byte) (i + 1);
            }
    
            manager.updateHandleFileId(guid, fileId);
    
            HandleInfo info = manager.getHandleByGuid(guid);
            assertArrayEquals(fileId, info.getFileId());
        }
    
        @Test
        public void testGetHandleForReconnect() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

        }
    
        /**
         * Update the file ID for a handle after successful create response
         * @param guid the handle GUID
         * @param fileId the 16-byte file ID
         */
        public void updateHandleFileId(HandleGuid guid, byte[] fileId) {
            lock.writeLock().lock();
            try {
                HandleInfo info = guidToHandle.get(guid);
                if (info != null) {
                    info.updateFileId(fileId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. docs/smb3-features/02-persistent-handles-design.md

            guidToHandle.put(guid, info);
            
            if (type == HandleType.PERSISTENT) {
                persistHandle(info);
            }
            
            return guid;
        }
        
        public void updateHandleFileId(HandleGuid guid, byte[] fileId) {
            HandleInfo info = guidToHandle.get(guid);
            if (info != null) {
                System.arraycopy(fileId, 0, info.fileId, 0, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
Back to top