Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 80 for FileId (0.04 seconds)

  1. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

         * @param controlCode the IOCTL control code
         * @param fileId the file identifier
         */
        public Smb2IoctlRequest(final Configuration config, final int controlCode, final byte[] fileId) {
            super(config, SMB2_IOCTL);
            this.controlCode = controlCode;
            this.fileId = fileId;
            this.maxOutputResponse = config.getTransactionBufferSize() & ~0x7;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java

         *
         * @param config
         *            the configuration to use for this request
         * @param fileId
         *            the file ID to set information for
         */
        public Smb2SetInfoRequest(final Configuration config, final byte[] fileId) {
            super(config, SMB2_SET_INFO);
            this.fileId = fileId;
        }
    
        /**
         * {@inheritDoc}
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            RequestWithFileId anonymousImpl = new RequestWithFileId() {
                private byte[] fileId;
    
                @Override
                public void setFileId(byte[] fileId) {
                    this.fileId = fileId;
                    if (fileId != null) {
                        capturedFileId[0] = fileId[0];
                    }
                }
            };
    
            // 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)
  4. docs/smb3-features/02-persistent-handles-design.md

        
        private byte[] fileId;  // 16-byte file ID from previous open
        
        public DurableHandleReconnect(byte[] fileId) {
            super(NAME);
            if (fileId.length != 16) {
                throw new IllegalArgumentException("File ID must be 16 bytes");
            }
            this.fileId = Arrays.copyOf(fileId, 16);
        }
        
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

            this.fileId = fileId;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
        public void setFileId(final byte[] fileId) {
            this.fileId = fileId;
        }
    
        /**
         * Sets the file information class for the directory query
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

            super(config, SMB2_WRITE);
            this.fileId = fileId;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
        public void setFileId(final byte[] fileId) {
            this.fileId = fileId;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

         * @param config
         *            The configuration to use
         * @param fileId
         *            The file ID that was closed
         * @param fileName
         *            The name of the file that was closed
         */
        public Smb2CloseResponse(final Configuration config, final byte[] fileId, final String fileName) {
            super(config);
            this.fileId = fileId;
            this.fileName = 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)
  8. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

        @Test
        public void testDurableHandleReconnect() {
            byte[] fileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId[i] = (byte) (i + 1);
            }
    
            DurableHandleReconnect reconnect = new DurableHandleReconnect(fileId);
    
            assertEquals("DHnC", new String(reconnect.getName()));
            assertArrayEquals(fileId, reconnect.getFileId());
            assertTrue(reconnect.size() > 0);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

            super(config, SMB2_CHANGE_NOTIFY);
            this.outputBufferLength = config.getNotifyBufferSize();
            this.fileId = fileId;
        }
    
        /**
         * Set the notification flags
         *
         * @param notifyFlags
         *            the notifyFlags to set
         */
        public void setNotifyFlags(final int notifyFlags) {
            this.notifyFlags = notifyFlags;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            testFileIdWriting(fileId3);
        }
    
        private void testFileIdWriting(byte[] fileId) {
            Configuration config = mock(Configuration.class);
            when(config.getNotifyBufferSize()).thenReturn(8192);
            Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, fileId);
            byte[] buffer = new byte[512];
            req.writeBytesWireFormat(buffer, 0);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
Back to Top