Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ensureOpen (0.06 sec)

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

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

            return this.handle.ensureTreeConnected();
        }
    
    
        @Override
        protected synchronized SmbFileHandleImpl ensureOpen () throws CIFSException {
            return this.handle.ensureOpen();
        }
    
    
        /**
         * This stream class is unbuffered. Therefore this method will always
         * return 0 for streams connected to regular files. However, a
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:12:23 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

         * @throws CIFSException
         */
        SmbTreeHandleInternal ensureTreeConnected () throws CIFSException;
    
    
        /**
         * @return file handle
         * @throws CIFSException
         */
        SmbFileHandle ensureOpen () throws CIFSException;
    
    
        /**
         * @param buf
         * @param off
         * @param length
         * @param direct
         * @return received bytes
         * @throws CIFSException
         * @throws IOException
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java

            } else if(( pipe.pipeType & SmbNamedPipe.PIPE_TYPE_TRANSACT ) ==
                                                        SmbNamedPipe.PIPE_TYPE_TRANSACT ) {
                ensureOpen();
                TransTransactNamedPipe req = new TransTransactNamedPipe( pipe.fid, b, off, len );
                if (dcePipe) {
                    req.maxDataCount = 1024;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

     */
    
        public void write( byte[] b ) throws IOException {
            write( b, 0, b.length );
        }
    
        public boolean isOpen()
        {
            return file.isOpen();
        }
        void ensureOpen() throws IOException {
            // ensure file is open
            if( file.isOpen() == false ) {
                file.open( openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0 );
                if( append ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
Back to top