Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isStale (0.14 sec)

  1. src/main/java/jcifs/SmbPipeHandle.java

    
        /**
         * @return whether the FD is open and valid
         */
        boolean isOpen ();
    
    
        /**
         * @return whether the FD was previously open but became invalid
         */
        boolean isStale ();
    
    
        /**
         * @param type
         * @return unwrapped instance
         */
        <T extends SmbPipeHandle> T unwrap ( Class<T> type );
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                return sess.getSessionKey();
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbPipeHandle#isStale()
         */
        @Override
        public boolean isStale () {
            return !this.open || ( this.handle != null && !this.handle.isValid() );
        }
    
    
        @Override
    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)
  3. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

         */
        @Override
        protected int doSendReceiveFragment ( byte[] buf, int off, int length, byte[] inB ) throws IOException {
            if ( this.handle.isStale() ) {
                throw new IOException("DCERPC pipe is no longer open");
            }
    
            int have = this.handle.sendrecv(buf, off, length, inB, getMaxRecv());
    
            int fraglen = Encdec.dec_uint16le(inB, 8);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jan 26 11:51:07 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeConnection.java

                    return send0(loc, request, response, params);
                }
                catch ( SmbException smbe ) {
                    // Retrying only makes sense if the invalid parameter is an tree id. If we have a stale file descriptor
                    // retrying make no sense, as it will never become available again.
                    if ( params.contains(RequestParam.NO_RETRY)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 31K bytes
    - Viewed (0)
Back to top