Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 34 for getFileId (0.06 seconds)

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

         */
        public HandleGuid getCreateGuid() {
            return createGuid;
        }
    
        /**
         * Get the file ID
         * @return copy of the 16-byte file ID
         */
        public byte[] getFileId() {
            return Arrays.copyOf(fileId, 16);
        }
    
        /**
         * Get the handle type
         * @return the handle type
         */
        public HandleType getType() {
            return type;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            when(tree.isConnected()).thenReturn(true);
            assertTrue(h.isValid());
            h.markClosed();
            assertFalse(h.isValid());
        }
    
        @Test
        @DisplayName("getFid/getFileId throw SmbException when invalid")
        void getters_throw_whenInvalid() {
            when(cfg.isTraceResourceUsage()).thenReturn(false);
            stubValidTree(1L, true, true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        /**
         * Get the file ID
         * @return the 16-byte file ID
         */
        public byte[] getFileId() {
            return Arrays.copyOf(fileId, 16);
        }
    
        @Override
        public int size() {
            // Context header (16) + name length (4) + padding to 8-byte alignment + data (16)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

         */
        public final long getEndOfFile() {
            return this.endOfFile;
        }
    
        /**
         * Get the file ID
         *
         * @return the fileId
         */
        public byte[] getFileId() {
            return this.fileId;
        }
    
        /**
         * Get the file name
         *
         * @return the fileName
         */
        public String getFileName() {
            return this.fileName;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

         */
        public int getIoctlFlags() {
            return this.ioctlFlags;
        }
    
        /**
         * Gets the file identifier from the response.
         *
         * @return the fileId
         */
        public byte[] getFileId() {
            return this.fileId;
        }
    
        /**
         * Gets the decoded output data from the response.
         *
         * @return the outputData
         */
        public Decodable getOutputData() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

                @Override
                public void setFileId(byte[] fileId) {
                    this.fileId = fileId;
                    this.setCount++;
                }
    
                public byte[] getFileId() {
                    return fileId;
                }
    
                public int getSetCount() {
                    return setCount;
                }
            }
    
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbFileHandleImpl.java

        public int getFid() throws SmbException {
            if (!isValid()) {
                throw new SmbException("Descriptor is no longer valid");
            }
            return this.fid;
        }
    
        public byte[] getFileId() throws SmbException {
            if (!isValid()) {
                throw new SmbException("Descriptor is no longer valid");
            }
            return this.fileId;
        }
    
        /**
         * @return the initialSize
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.4K bytes
    - Click Count (1)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                assertEquals(response.getFileAttributes(), response.getAttributes());
            }
    
            @Test
            @DisplayName("getFileId should return the file ID passed in constructor")
            void testGetFileId() {
                assertArrayEquals(testFileId, response.getFileId());
            }
    
            @Test
            @DisplayName("getFileName should return the file name passed in constructor")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  9. docs/smb3-features/03-multi-channel-design.md

            
            if (message instanceof Smb2ReadRequest) {
                affinityKey = Arrays.hashCode(((Smb2ReadRequest)message).getFileId());
            } else if (message instanceof Smb2WriteRequest) {
                affinityKey = Arrays.hashCode(((Smb2WriteRequest)message).getFileId());
            }
            
            if (affinityKey != 0) {
                // Select channel based on affinity key
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

        @Override
        public final int getAttributes() {
            return getFileAttributes();
        }
    
        /**
         * Get the unique file identifier
         * @return the fileId
         */
        public final byte[] getFileId() {
            return this.fileId;
        }
    
        /**
         * Get the file name
         * @return the fileName
         */
        public final String getFileName() {
            return this.fileName;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 15.4K bytes
    - Click Count (0)
Back to Top