Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getServerWithDfs (0.13 sec)

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

                assertEquals(reqPath, ( (SmbResourceLocatorInternal) fl ).handleDFSReferral(dr, reqPath));
    
                assertEquals("1.2.3.4", fl.getServer());
                assertEquals("2.3.4.5", fl.getServerWithDfs());
                assertEquals("share", fl.getShare());
                assertEquals("\\foo\\bar\\", fl.getUNCPath());
                assertEquals("/share/foo/bar/", fl.getURLPath());
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                canonicalizePath();
            }
            return this.share;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getServerWithDfs()
         */
        @Override
        public String getServerWithDfs () {
            if ( this.dfsReferral != null ) {
                return this.dfsReferral.getServer();
            }
            return getServer();
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnection.java

                if ( isConnected() ) {
                    log.trace("Already connected");
                    return new SmbTreeHandleImpl(loc, this);
                }
    
                return connectHost(loc, loc.getServerWithDfs());
            }
    
        }
    
    
        /**
         * @return whether we have a valid tree connection
         */
        @SuppressWarnings ( "resource" )
        public synchronized boolean isConnected () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcHandle.java

        /**
         * 
         * @return the server connected to
         */
        public abstract String getServer ();
    
    
        /**
         * @return the server resolved by DFS
         */
        public abstract String getServerWithDfs ();
    
    
        /**
         * @return the transport context used
         */
        public abstract CIFSContext getTransportContext ();
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jun 30 10:11:57 UTC 2019
    - 12.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                }
            }
    
            SmbTreeConnection treeConn = SmbTreeConnection.create(tc);
            try ( SmbTreeHandleImpl th = treeConn.connectHost(locator, locator.getServerWithDfs());
                  SmbSessionImpl session = th.getSession();
                  SmbTransportImpl transport = session.getTransport() ) {
                try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
Back to top