Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for SmbTreeHandleImpl (0.14 sec)

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

    import jcifs.internal.SmbNegotiationResponse;
    import jcifs.internal.smb1.com.SmbComNegotiateResponse;
    
    
    /**
     * @author mbechler
     *
     */
    class SmbTreeHandleImpl implements SmbTreeHandleInternal {
    
        private static final Logger log = LoggerFactory.getLogger(SmbTreeHandleImpl.class);
    
        private final SmbResourceLocatorImpl resourceLoc;
        private final SmbTreeConnection treeConnection;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

        private volatile boolean open = true;
    
        private SmbFileHandleImpl handle;
        private SmbPipeOutputStream output;
        private SmbPipeInputStream input;
    
        private final String uncPath;
    
        private SmbTreeHandleImpl treeHandle;
    
        private int sharing = SmbConstants.DEFAULT_SHARING;
    
    
        /**
         * @param pipe
         */
        public SmbPipeHandleImpl ( SmbNamedPipe pipe ) {
            this.pipe = pipe;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnection.java

         */
        public synchronized SmbTreeHandleImpl connectHost ( SmbResourceLocatorImpl loc, String host ) throws IOException {
            return connectHost(loc, host, null);
        }
    
    
        /**
         * 
         * @param loc
         * @param host
         * @param referral
         * @return tree handle
         * @throws IOException
         */
    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/smb/SmbPipeOutputStream.java

        private SmbPipeHandleImpl handle;
    
    
        /**
         * @param handle
         * @throws SmbException
         */
        SmbPipeOutputStream ( SmbPipeHandleImpl handle, SmbTreeHandleImpl th ) throws CIFSException {
            super(handle.getPipe(), th, null, 0, 0, 0);
            this.handle = handle;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbFileOutputStream#isOpen()
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileHandleImpl.java

        private final Configuration cfg;
        private final int fid;
        private final byte[] fileId;
        private boolean open = true;
        private final long tree_num; // for checking whether the tree changed
        private SmbTreeHandleImpl tree;
    
        private final AtomicLong usageCount = new AtomicLong(1);
        private final int flags;
        private final int access;
        private final int attrs;
        private final int options;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (1)
  6. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

    
        /**
         * @param th
         * @param parent
         * @param wildcard
         * @param filter
         * @param searchAttributes
         * @throws CIFSException
         */
        public DirFileEntryEnumIterator2 ( SmbTreeHandleImpl th, SmbResource parent, String wildcard, ResourceNameFilter filter, int searchAttributes )
                throws CIFSException {
            super(th, parent, wildcard, filter, searchAttributes);
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 16:15:08 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                    // referrals.
                    try ( SmbTreeHandleImpl th = ensureTreeConnected() ) {
                        if ( this.fileLocator.getType() == TYPE_SHARE ) {
                            // treeConnect is good enough, but we need to do this after resolving DFS
                            try ( SmbTreeHandleImpl th2 = ensureTreeConnected() ) {}
                        }
                        else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                if ( rpc.retval != 0 ) {
                    throw new SmbException(rpc.retval, true);
                }
                return rpc.getEntries();
            }
        }
    
    
        static FileEntry[] doNetShareEnum ( SmbTreeHandleImpl th ) throws CIFSException {
            SmbComTransaction req = new NetShareEnum(th.getConfig());
            SmbComTransactionResponse resp = new NetShareEnumResponse(th.getConfig());
            th.send(req, resp);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbPipeInputStream.java

         * @param handle
         * @param th
         * @throws SmbException
         */
        SmbPipeInputStream ( SmbPipeHandleImpl handle, SmbTreeHandleImpl th ) throws CIFSException {
            super(handle.getPipe(), th, null);
            this.handle = handle;
        }
    
    
        protected synchronized SmbTreeHandleImpl ensureTreeConnected () throws CIFSException {
            return this.handle.ensureTreeConnected();
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:12:23 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbCopyUtil.java

         * @param dh
         * @param sh
         * @param req
         * @param resp
         * @throws SmbException
         */
        static void copyFile ( SmbFile src, SmbFile dest, byte[][] b, int bsize, WriterThread w, SmbTreeHandleImpl sh, SmbTreeHandleImpl dh )
                throws SmbException {
    
            if ( sh.isSMB2() && dh.isSMB2() && sh.isSameTree(dh) ) {
                try {
                    serverSideCopy(src, dest, sh, dh, false);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
Back to top