Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for rmtree (0.31 sec)

  1. src/main/java/jcifs/SmbTree.java

     */
    package jcifs;
    
    
    /**
     * Opaque reference to a SMB tree
     * 
     * @author mbechler
     *
     */
    public interface SmbTree extends AutoCloseable {
    
        /**
         * 
         * @param type
         * @return tree instance with the given type
         */
        <T extends SmbTree> T unwrap ( Class<T> type );
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbTree.java

                    this.service.equalsIgnoreCase( service ));
        }
        public boolean equals(Object obj) {
            if (obj instanceof SmbTree) {
                SmbTree tree = (SmbTree)obj;
                return matches(tree.share, tree.service);
            }
            return false;
        }
        void send( ServerMessageBlock request,
                                ServerMessageBlock response ) throws SmbException {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                                    String service, ServerMessageBlock andx ) {
            super( andx );
            this.session = session;
            this.path = path;
            this.service = service;
            command = SMB_COM_TREE_CONNECT_ANDX;
        }
    
        int getBatchLimit( byte command ) {
            int c = (int)( command & 0xFF );
            // why isn't this just return batchLimits[c]?
            switch( c ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC); /* in case close and reopen */
            writeSize = file.tree.session.transport.snd_buf_size - 70;
    
            useNTSmbs = file.tree.session.transport.hasCapability( ServerMessageBlock.CAP_NT_SMBS );
            if( useNTSmbs ) {
                reqx = new SmbComWriteAndX();
                rspx = new SmbComWriteAndXResponse();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                }
            } else {
                throw new SmbException("Unsupported");
            }
        }
    
        int getBatchLimit( byte command ) {
            return command == SMB_COM_TREE_CONNECT_ANDX ? BATCH_LIMIT : 0;
        }
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            writeInt2( session.transport.snd_buf_size, dst, dstIndex );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

            return this.pipe;
        }
    
    
        @Override
        public SmbTreeHandleImpl ensureTreeConnected () throws CIFSException {
            if ( this.treeHandle == null ) {
                // extra acquire to keep the tree alive
                this.treeHandle = this.pipe.ensureTreeConnected();
            }
            return this.treeHandle.acquire();
        }
    
    
        public String getUncPath () {
            return this.uncPath;
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbConstants.java

        static final int FLAGS_COPY_TARGET_MODE_ASCII = 0x0004;
        static final int FLAGS_COPY_SOURCE_MODE_ASCII = 0x0008;
        static final int FLAGS_VERIFY_ALL_WRITES = 0x0010;
        static final int FLAGS_TREE_COPY = 0x0020;
    
        // open function
        static final int OPEN_FUNCTION_FAIL_IF_EXISTS = 0x0000;
        static final int OPEN_FUNCTION_OVERWRITE_IF_EXISTS = 0x0020;
    
        static final int SECURITY_SHARE = 0x00;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionInternal.java

         * 
         * @throws SmbException
         */
        void treeConnectLogon () throws SmbException;
    
    
        /**
         * @param share
         * @param service
         * @return tree instance
         */
        SmbTree getSmbTree ( String share, String service );
    
    
        /**
         * Initiate reauthentication
         * 
         * @throws CIFSException
         */
        void reauthenticate () throws CIFSException;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbSession.java

            trees = new Vector();
            connectionState = 0;
        }
    
        synchronized SmbTree getSmbTree( String share, String service ) {
            SmbTree t;
    
            if( share == null ) {
                share = "IPC$";
            }
            for( Enumeration e = trees.elements(); e.hasMoreElements(); ) {
                t = (SmbTree)e.nextElement();
                if( t.matches( share, service )) {
                    return t;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

            if( isOpen() ) {
                return;
            }
            fid = open0( flags, access, attrs, options );
            opened = true;
            tree_num = tree.tree_num;
        }
        boolean isOpen() {
            boolean ans = opened && isConnected() && tree_num == tree.tree_num;
            return ans;
        }
        void close( int f, long lastWriteTime ) throws SmbException {
    
            if( log.level >= 3 )
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top