Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,523 for fileId (1.09 sec)

  1. src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java

         *
         * @param config
         *            The configuration to use
         * @param fileId
         *            The file ID to close
         * @param fileName
         *            The name of the file being closed
         */
        public Smb2CloseRequest(final Configuration config, final byte[] fileId, final String fileName) {
            super(config, SMB2_CLOSE);
            this.fileId = fileId;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

            this.fileId = fileId;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
        public void setFileId(final byte[] fileId) {
            this.fileId = fileId;
        }
    
        /**
         * Sets the information type for the query
         *
         * @param infoType
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

         */
        @Override
        public void setFileId(final byte[] fileId) {
            this.fileId = fileId;
        }
    
        /**
         * Sets the padding for the read request
         *
         * @param padding
         *            the padding to set
         */
        public void setPadding(final byte padding) {
            this.padding = padding;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

        /**
         * Get the associated file object
         * @return the file object (can be null)
         */
        public Object getFile() {
            return file;
        }
    
        /**
         * Set the associated file object
         * @param file the file object
         */
        public void setFile(Object file) {
            this.file = file;
        }
    
        /**
         * Update the file ID after successful create response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

            try {
                @SuppressWarnings("resource")
                final SmbTreeHandleImpl th = getTreeHandle();
                if (this.fileId != null && th.isConnected()) {
                    th.send(new Smb2CloseRequest(th.getConfig(), this.fileId));
                }
            } finally {
                this.fileId = null;
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

     */
    package jcifs.internal.smb2.persistent;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.nio.file.DirectoryStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.nio.file.StandardOpenOption;
    import java.util.concurrent.ConcurrentHashMap;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                assertTrue(result.contains("fileId=" + Hexdump.toHexString(fileId)));
                assertTrue(result.endsWith("]"));
            }
    
            @Test
            @DisplayName("Should handle null fileId in toString")
            void testToStringWithNullFileId() throws Exception {
                // Set oplockLevel but leave fileId as null
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        @Test
        @DisplayName("Should handle different file IDs")
        void testDifferentFileIds() {
            // Given
            byte[] fileId1 = new byte[16];
            Arrays.fill(fileId1, (byte) 0x11);
    
            byte[] fileId2 = new byte[16];
            Arrays.fill(fileId2, (byte) 0xFF);
    
            byte[] fileId3 = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId3[i] = (byte) i;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

     * underlying storage device for a given file handle.
     *
     * @author mbechler
     */
    public class Smb2FlushRequest extends ServerMessageBlock2Request<Smb2FlushResponse> implements RequestWithFileId {
    
        private byte[] fileId;
    
        /**
         * Constructs an SMB2 flush request
         * @param config the client configuration
         * @param fileId the file identifier to flush
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. 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
    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