Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for live (0.12 sec)

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

                log.trace("Resolving root " + root);
            }
            /*
             * The link entries contain maps of referrals by path representing DFS links.
             * Note that paths are relative to the root like "\" and not "\example.com\root".
             */
            CacheEntry<DfsReferralDataInternal> links = roots.get(root);
            if ( links != null && now > links.expiration ) {
                if ( log.isDebugEnabled() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/SessionTest.java

    import jcifs.smb.SmbSessionInternal;
    import jcifs.smb.SmbTransportInternal;
    import jcifs.smb.SmbTreeHandleInternal;
    
    
    /**
     * 
     * 
     * 
     * Compatability Notes:
     * - Windows (2k8, 2k12) servers do not like extended security + DOS error codes
     * 
     * @author mbechler
     *
     */
    @RunWith ( Parameterized.class )
    @SuppressWarnings ( {
        "javadoc", "deprecation"
    } )
    public class SessionTest extends BaseCIFSTest {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                        throw new RuntimeCIFSException(ignored);
                    }
                }
            }
    
            /*
             * If a local hostname was not provided a name like
             * JCIFS34_172_A6 will be dynamically generated for the
             * client. This is primarily (exclusively?) used as a
             * CallingName during session establishment.
             */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

                         * is like changing the rug out from underneath our feet.
                         */
    /* Technically we should also try to authenticate here but that means doing the session setup and tree connect separately. For now a simple connect will at least tell us if the host is alive. That should be sufficient for 99% of the cases. We can revisit this again for 2.0.
     */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  5. src/main/java/jcifs/Configuration.java

         * @return random source to use
         */
        SecureRandom getRandom ();
    
    
        /**
         * 
         * 
         * Property <tt>jcifs.smb.client.dfs.ttl</tt> (int, default 300)
         * 
         * @return title to live, in seconds, for DFS cache entries
         */
        long getDfsTtl ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.dfs.strictView</tt> (boolean, default false)
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

                    /*
                     * When DFS is in action all request paths are
                     * full UNC paths minus the first backslash like
                     * \server\share\path\to\file
                     * as opposed to normally
                     * \path\to\file
                     */
                    RequestWithPath preq = (RequestWithPath) request;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

            do {
                if ( ( readn(this.in, this.sbuf, 0, 4) ) < 4 ) {
                    return null;
                }
            }
            while ( this.sbuf[ 0 ] == (byte) 0x85 ); /* Dodge NetBIOS keep-alive */
            /* read smb header */
            if ( ( readn(this.in, this.sbuf, 4, SmbConstants.SMB1_HEADER_LENGTH) ) < SmbConstants.SMB1_HEADER_LENGTH ) {
                return null;
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

                this.treeHandle.ensureDFSResolved();
                if ( this.transportContext.getConfig().isStrictResourceLifecycle() ) {
                    // one extra share to keep the tree alive
                    return this.treeHandle.acquire();
                }
                return this.treeHandle;
            }
            return this.treeHandle.acquire();
        }
    
    
        /**
         * @param context
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
Back to top