Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ensureTreeConnected (0.13 sec)

  1. 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 () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbPipeOutputStream.java

         */
        @Override
        public boolean isOpen () {
            return this.handle.isOpen();
        }
    
    
        @Override
        protected synchronized SmbTreeHandleImpl ensureTreeConnected () throws CIFSException {
            return this.handle.ensureTreeConnected();
        }
    
    
        @Override
        protected synchronized SmbFileHandleImpl ensureOpen () throws CIFSException {
            return this.handle.ensureOpen();
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

        @Override
        public void connect () throws IOException {
            try ( SmbTreeHandle th = ensureTreeConnected() ) {}
        }
    
    
        /**
         * 
         * @return a tree handle
         * @throws CIFSException
         */
        public SmbTreeHandle getTreeHandle () throws CIFSException {
            return ensureTreeConnected();
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbPipeInputStream.java

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

                    }
                    throw e;
                }
                try ( SmbFile browser = (SmbFile) parent.resolve(addr.getHostAddress()) ) {
                    try ( SmbTreeHandleImpl th = browser.ensureTreeConnected() ) {
                        if ( th.isSMB2() ) {
                            throw new SmbUnsupportedOperationException();
                        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileOutputStream.java

                return this.handle;
            }
    
            log.trace("File already open");
            return this.handle.acquire();
        }
    
    
        protected SmbTreeHandleImpl ensureTreeConnected () throws CIFSException {
            return this.file.ensureTreeConnected();
        }
    
    
        /**
         * Writes len bytes from the specified byte array starting at
         * offset off to this file output stream.
         *
         * @param b
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

        SmbPipeOutputStream getOutput () throws CIFSException;
    
    
        /**
         * @return tree connection
         * @throws SmbException
         * @throws CIFSException
         */
        SmbTreeHandleInternal ensureTreeConnected () throws CIFSException;
    
    
        /**
         * @return file handle
         * @throws CIFSException
         */
        SmbFileHandle ensureOpen () throws CIFSException;
    
    
        /**
         * @param buf
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

            this.file = file;
            this.unsharedFile = unshared;
            this.openFlags = openFlags;
            this.access = access;
            this.sharing = sharing;
    
            try ( SmbTreeHandleInternal th = file.ensureTreeConnected() ) {
                this.smb2 = th.isSMB2();
                if ( file.getType() != SmbConstants.TYPE_NAMED_PIPE ) {
                    try ( SmbFileHandle h = ensureOpen() ) {}
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            this.file = file;
            this.sharing = sharing;
            this.unsharedFile = unsharedFile;
    
            try ( SmbTreeHandleInternal th = this.file.ensureTreeConnected() ) {
                if ( mode.equals("r") ) {
                    this.openFlags = SmbConstants.O_CREAT | SmbConstants.O_RDONLY;
                    this.access = SmbConstants.FILE_READ_DATA;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
Back to top