Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for SmbTreeConnection (0.24 sec)

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

        private static final Random RAND = new Random();
    
        protected SmbTreeConnection(final CIFSContext ctx) {
            this.ctx = ctx;
            this.delegate = null;
        }
    
        protected SmbTreeConnection(final SmbTreeConnection treeConnection) {
            this.ctx = treeConnection.ctx;
            this.delegate = treeConnection;
        }
    
        static SmbTreeConnection create(final CIFSContext c) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

        @Mock
        CIFSContext ctx;
    
        @Mock
        Configuration config;
    
        @Mock
        Credentials credentials;
    
        @Mock
        DfsResolver dfsResolver;
    
        private SmbTreeConnection newConn() {
            return new SmbTreeConnection(ctx) {
            };
        }
    
        @BeforeEach
        void setup() {
            when(ctx.getConfig()).thenReturn(config);
            // keep retries small for faster and deterministic tests
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnectionTrace.java

     */
    package jcifs.smb;
    
    import jcifs.CIFSContext;
    
    /**
     * @author mbechler
     *
     */
    class SmbTreeConnectionTrace extends SmbTreeConnection {
    
        SmbTreeConnectionTrace(final CIFSContext ctx) {
            super(ctx);
        }
    
        SmbTreeConnectionTrace(final SmbTreeConnection conn) {
            super(conn);
        }
    
        @Override
        protected void finalize() throws Throwable {
            checkRelease();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            // Not an impl -> false
            assertFalse(handle.isSameTree(mock(SmbTreeHandle.class)));
    
            // Impl case delegates to treeConnection.isSame
            SmbTreeConnection otherConn = mock(SmbTreeConnection.class);
            when(otherConn.acquire()).thenReturn(otherConn);
            SmbTreeHandleImpl other = new SmbTreeHandleImpl(resourceLoc, otherConn);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

        private final SmbResourceLocatorImpl resourceLoc;
        private final SmbTreeConnection treeConnection;
    
        private final AtomicLong usageCount = new AtomicLong(1);
    
        /**
         * @param resourceLoc
         * @param treeConnection
         */
        public SmbTreeHandleImpl(final SmbResourceLocatorImpl resourceLoc, final SmbTreeConnection treeConnection) {
            this.resourceLoc = resourceLoc;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/test/resources/log4j.properties

    log4j.appender.stderr.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
    
    
    log4j.logger.jcifs: INFO
    #log4j.logger.jcifs.internal.smb2.create: DEBUG
    #log4j.logger.jcifs.smb.SmbTreeConnection: DEBUG
    #log4j.logger.jcifs.smb.SmbTransportImpl: DEBUG
    #log4j.logger.jcifs.util.transport.Transport: DEBUG
    #log4j.logger.jcifs.smb.DfsImpl: DEBUG
    #log4j.logger.jcifs.smb: DEBUG
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 806 bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                        }
                    }
                } catch (final IOException ioe) {
                    log.debug("DS enumeration failed", ioe);
                }
            }
    
            final SmbTreeConnection treeConn = SmbTreeConnection.create(tc);
            try (SmbTreeHandleImpl th = treeConn.connectHost(locator, locator.getServerWithDfs());
                    SmbSessionImpl session = th.getSession();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

            if (context.getLocator().getShare() != null && context instanceof SmbFile) {
                this.treeConnection = SmbTreeConnection.create(((SmbFile) context).treeConnection);
            } else {
                this.treeConnection = SmbTreeConnection.create(context.getContext());
            }
        }
    
        private static String checkName(final String name) throws MalformedURLException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top