Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for require (0.24 sec)

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

    
        protected synchronized SmbFileHandleImpl ensureOpen () throws CIFSException {
            if ( !isOpen() ) {
                // one extra acquire to keep this open till the stream is released
                this.handle = this.file.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0).acquire();
                if ( this.append ) {
                    this.fp = this.handle.getInitialSize();
                    if ( log.isDebugEnabled() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * <font color="#800000"><i>Important: all SMB URLs that represent
     * workgroups, servers, shares, or directories require a trailing slash '/'.
     * </i></font>
     * <p>
     * When using the <tt>java.net.URL</tt> class with
     * 'smb1://' URLs it is necessary to first call the static
     * <tt>jcifs.smb1.Config.registerSmbURLHandler();</tt> method. This is required
     * to register the SMB protocol handler.
     * <p>
    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)
  3. src/test/java/jcifs/tests/SessionTest.java

                Assert.assertEquals(t1, t2);
            }
    
        }
    
    
        // this test is meant to test server-side session invalidation behavior
        // and not part of the regular test suite as manual steps are required
        //@Test
        public void testSessionMaintenance () throws IOException, InterruptedException {
            try ( SmbFile f = getDefaultShareRoot() ) {
                checkConnection(f);
                while ( true ) {
    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)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

            byte[] token = negoResp.getSecurityBlob();
            final int securityMode = ( ( negoResp.getSecurityMode() & Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED ) != 0 ) || trans.isSigningEnforced()
                    ? Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED : Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED;
            boolean anonymous = this.credentials.isAnonymous();
            long sessId = 0;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

     * <font color="#800000"><i>Important: all SMB URLs that represent
     * workgroups, servers, shares, or directories require a trailing slash '/'.
     * </i></font>
     * <p>
     * When using the <tt>java.net.URL</tt> class with
     * 'smb://' URLs it is necessary to first call the static
     * <tt>jcifs.Config.registerSmbURLHandler();</tt> method. This is required
     * to register the SMB protocol handler.
     * <p>
    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)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

            return this.transportContext;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Transport#acquire()
         */
        @Override
        public SmbTransportImpl acquire () {
            return (SmbTransportImpl) super.acquire();
        }
    
    
        /**
         * @return the server's encryption key
         */
        @Override
        public byte[] getServerEncryptionKey () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeImpl.java

                SmbTreeImpl tree = (SmbTreeImpl) obj;
                return matches(tree.share, tree.service);
            }
            return false;
        }
    
    
        public SmbTreeImpl acquire () {
            return acquire(true);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTree#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
        @Override
    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)
Back to top