Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ensureTreeConnected (1.05 sec)

  1. src/main/java/jcifs/smb/SmbPipeOutputStream.java

         */
        @Override
        public boolean isOpen() {
            return this.handle.isOpen();
        }
    
        @Override
        protected synchronized SmbTreeHandleImpl ensureTreeConnected() throws CIFSException {
            return this.handle.ensureTreeConnected();
        }
    
        @Override
        protected synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            return this.handle.ensureOpen();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

        }
    
        @Test
        @DisplayName("ensureTreeConnected delegates and returns the tree handle")
        void ensureTreeConnected_delegatesAndReturns() throws Exception {
            // Arrange
            SmbPipeOutputStream out = newStream();
            when(handle.ensureTreeConnected()).thenReturn(tree);
    
            // Act
            SmbTreeHandleImpl result = out.ensureTreeConnected();
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

            if (!smbFile.isDirectory()) {
                throw new SmbException("Not a directory: " + smbFile.getPath());
            }
    
            try (SmbTreeHandleImpl th = smbFile.ensureTreeConnected()) {
                // Check if we can use directory leasing
                DirectoryLeaseManager dirManager = getDirectoryLeaseManager(th);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbPipeInputStream.java

         *
         * @return the tree handle implementation
         * @throws CIFSException if a connection error occurs
         */
        protected synchronized SmbTreeHandleImpl ensureTreeConnected() throws CIFSException {
            return this.handle.ensureTreeConnected();
        }
    
        @Override
        protected synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            return this.handle.ensureOpen();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

         * Ensures that the tree connection is established and returns it.
         *
         * @return tree connection
         * @throws CIFSException if an error occurs connecting to the tree
         */
        SmbTreeHandleInternal ensureTreeConnected() throws CIFSException;
    
        /**
         * Ensures that the file handle is open and returns it.
         *
         * @return file handle
         * @throws CIFSException if an error occurs opening the file
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top