Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getTreeHandle (0.13 sec)

  1. src/test/java/jcifs/tests/FileOperationsTest.java

                    finally {
                        tgt.delete();
                    }
                }
                catch ( SmbUnsupportedOperationException e ) {
                    try ( SmbTreeHandle th = defaultShareRoot.getTreeHandle() ) {
                        Assume.assumeTrue("Not SMB2", th.isSMB2());
                    }
                    throw e;
                }
                finally {
                    if ( !renamed && f.exists() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/SessionTest.java

            Assert.assertTrue(f2 instanceof SmbFile);
            try ( SmbTreeHandleInternal th1 = (SmbTreeHandleInternal) ( (SmbFile) f1 ).getTreeHandle();
                  SmbTreeHandleInternal th2 = (SmbTreeHandleInternal) ( (SmbFile) f2 ).getTreeHandle();
                  SmbSessionInternal sess1 = th1.getSession().unwrap(SmbSessionInternal.class);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/EnumTest.java

            try ( SmbResource root = ctx.get(getTestShareURL());
                  SmbResource f = root.resolve(makeRandomDirectoryName()) ) {
    
                try ( SmbTreeHandle treeHandle = ( (SmbFile) root ).getTreeHandle() ) {
                    Assume.assumeTrue("Not SMB2", treeHandle.isSMB2());
                }
    
                f.mkdir();
                try {
    
                    for ( int i = 0; i < 5; i++ ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

            try ( SmbTreeHandle th = ensureTreeConnected() ) {}
        }
    
    
        /**
         * 
         * @return a tree handle
         * @throws CIFSException
         */
        public SmbTreeHandle getTreeHandle () throws CIFSException {
            return ensureTreeConnected();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top