Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for btree (0.12 sec)

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

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    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 May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.2K bytes
    - Viewed (0)
  2. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.8K bytes
    - Viewed (0)
  3. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  4. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
  5. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  6. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbTreeHandle.java

         * @param th
         * @return whether the handles refer to the same tree
         */
        boolean isSameTree ( SmbTreeHandle th );
    
    
        /**
         * @return whether this tree handle uses SMB2+
         */
        boolean isSMB2 ();
    
    
        /**
         * @return the remote host name
         */
        String getRemoteHostName ();
    
    
        /**
         * @return the tree type
         */
        int getTreeType ();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/TreeConnectResponse.java

        /**
         * @return tree id
         */
        int getTid ();
    
    
        /**
         * @return service
         */
        String getService ();
    
    
        /**
         * @return whether the share is in DFS
         */
        boolean isShareDfs ();
    
    
        /**
         * @return whether the tree id is a valid one
         */
        boolean isValidTid ();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequest.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.tree;
    
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    
    /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbSession.java

        public static void logon( UniAddress dc, int port,
                            NtlmPasswordAuthentication auth ) throws SmbException {
            SmbTree tree = SmbTransport.getSmbTransport( dc, port ).getSmbSession( auth ).getSmbTree( LOGON_SHARE, null );
            if( LOGON_SHARE == null ) {
                tree.treeConnect( null, null );
            } else {
                Trans2FindFirst2 req = new Trans2FindFirst2( "\\", "*", SmbFile.ATTR_DIRECTORY );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
Back to top