Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 125 for close (0.13 sec)

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

                    h.close();
                }
            }
            catch ( SmbException se ) {
                throw seToIoe(se);
            }
            finally {
                this.tmp = null;
                this.handle = null;
                if ( this.unsharedFile ) {
                    this.file.close();
                }
            }
        }
    
    
        /**
         * Reads a byte of data from this input stream.
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcHandle.java

    
        protected abstract int doSendReceiveFragment ( byte[] out, int off, int length, byte[] inB ) throws IOException;
    
    
        @Override
        public void close () throws IOException {
            this.state = 0;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/EnumTest.java

                    assertNotNull(files);
                    assertEquals(3, files.length);
    
                    for ( SmbFile cf : files ) {
                        assertTrue(cf.exists());
                        cf.close();
                    }
                }
                finally {
                    f.delete();
                }
            }
        }
    
    
        @Test
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/LsaPolicyHandle.java

            handle.sendrecv(rpc);
            if ( rpc.retval != 0 ) {
                throw new SmbException(rpc.retval, false);
            }
            this.opened = true;
        }
    
    
        @Override
        public synchronized void close () throws IOException {
            if ( this.opened ) {
                this.opened = false;
                MsrpcLsarClose rpc = new MsrpcLsarClose(this);
                this.handle.sendrecv(rpc);
                if ( rpc.retval != 0 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/WatchTest.java

            try ( SmbWatchHandle w = this.base.watch(FileNotifyInformation.FILE_NOTIFY_CHANGE_ATTRIBUTES, false) ) {
                setupWatch(w);
                w.close();
                Future<List<FileNotifyInformation>> f = this.future;
                assertNotNull(f);
                f.get(5, TimeUnit.SECONDS);
            }
        }
    
    
        @Test
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/CloseableIterator.java

     * @param <T>
     *
     */
    public interface CloseableIterator <T> extends Iterator<T>, AutoCloseable {
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close () throws CIFSException;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/EmptyIterator.java

         */
        @Override
        public SmbResource next () {
            return null;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CloseableIterator#close()
         */
        @Override
        public void close () throws CIFSException {}
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CloseableIterator#remove()
         */
        @Override
        public void remove() {
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Oct 16 10:32:35 GMT 2018
    - 1.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbSession.java

        
                            try {
                                token = nctx.initSecContext(token, 0, token.length);
                            } catch (SmbException se) {
                                /* We must close the transport or the server will be expecting a
                                 * Type3Message. Otherwise, when we send a Type1Message it will return
                                 * "Invalid parameter".
                                 */
    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)
  9. src/test/java/jcifs/tests/OplockTests.java

                        }
                    }
                }
                else {
                    Assume.assumeTrue(false);
                }
            }
            finally {
                c.close();
            }
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/DosError.java

            "The directory is not empty.",
            "Cannot create a file when that file already exists.",
            "All pipe instances are busy.",
            "The pipe is being closed.",
            "No process is on the other end of the pipe.",
            "More data is available.",
            "This user account has expired.",
            "The user is not allowed to log on from this workstation.",
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.5K bytes
    - Viewed (0)
Back to top