Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getTreeHandle (0.08 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/KerberosTest.java

            CIFSContext ctx = getContext().withCredentials(creds);
            try ( SmbFile f = new SmbFile(getTestShareURL(), ctx);
                  SmbTreeHandleInternal th = (SmbTreeHandleInternal) f.getTreeHandle();
                  SmbSessionInternal session = (SmbSessionInternal) th.getSession() ) {
                Assume.assumeTrue("Not SMB2", th.isSMB2());
                f.exists();
                session.reauthenticate();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/TimeoutTest.java

                f.createNewFile();
                try {
                    SmbTransportInternal t;
                    try ( SmbTreeHandleInternal th = (SmbTreeHandleInternal) f.getTreeHandle();
                          SmbSessionInternal session = th.getSession().unwrap(SmbSessionInternal.class);
                          SmbTransportInternal trans = session.getTransport().unwrap(SmbTransportInternal.class) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  5. 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)
Back to top