Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for connectHost (0.09 seconds)

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

         */
        public synchronized SmbTreeHandleImpl connectHost(final SmbResourceLocatorImpl loc, final String host) throws IOException {
            return connectHost(loc, host, null);
        }
    
        /**
         *
         * @param loc
         * @param host
         * @param referral
         * @return tree handle
         * @throws IOException
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            setTree(c, tree);
    
            // Override connectHost to avoid actual network connection on retry
            doAnswer(invocation -> {
                SmbTreeHandleImpl handle = mock(SmbTreeHandleImpl.class);
                // Re-set the same tree to continue using our mock
                setTree(c, tree);
                return handle;
            }).when(c).connectHost(any(), anyString());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                    log.debug("DS enumeration failed", ioe);
                }
            }
    
            final SmbTreeConnection treeConn = SmbTreeConnection.create(tc);
            try (SmbTreeHandleImpl th = treeConn.connectHost(locator, locator.getServerWithDfs());
                    SmbSessionImpl session = th.getSession();
                    SmbTransportImpl transport = session.getTransport()) {
                try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top