Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for watch (0.18 sec)

  1. src/test/java/jcifs/tests/WatchTest.java

            try ( SmbWatchHandle w = this.base.watch(FileNotifyInformation.FILE_NOTIFY_CHANGE_FILE_NAME, false) ) {
                setupWatch(w);
                try ( SmbResource cr = new SmbFile(this.base, "created") ) {
                    cr.createNewFile();
                    assertNotified(w, FileNotifyInformation.FILE_ACTION_ADDED, "created", null);
                }
            }
            catch ( TimeoutException e ) {
    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)
  2. src/main/java/jcifs/SmbWatchHandle.java

         * it will return an empty list of changes.
         * 
         * @return changes since the last invocation
         * @throws CIFSException
         */
        List<FileNotifyInformation> watch () throws CIFSException;
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.concurrent.Callable#call()
         */
        @Override
        List<FileNotifyInformation> call () throws CIFSException;
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

    
    /**
     * @author mbechler
     *
     */
    public class Smb2ChangeNotifyRequest extends ServerMessageBlock2Request<Smb2ChangeNotifyResponse> {
    
        /**
         * 
         */
        public static final int SMB2_WATCH_TREE = 0x1;
    
        /**
         * 
         */
        public static final int FILE_NOTIFY_CHANGE_FILE_NAME = 0x1;
        /**
         * 
         */
        public static final int FILE_NOTIFY_CHANGE_DIR_NAME = 0x2;
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DfsImpl.java

            if ( log.isTraceEnabled() ) {
                log.trace("No match for domain based root, checking standalone " + domain);
            }
            /*
             * We did not match a domain based root. Now try to match the
             * longest path in the list of stand-alone referrals.
             */
    
            CacheEntry<DfsReferralDataInternal> refs;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

         * 4 = SMB_COM_DELETE_DIRECTORY
         * 5 = SMB_COM_OPEN_ANDX
         * 6 = SMB_COM_RENAME
         * 7 = SMB_COM_TRANSACTION
         * 8 = SMB_COM_QUERY_INFORMATION
         */
    
        /* All batch limits are single batch only until further notice
         */
    
        private static byte[] batchLimits = {
            1, 1, 1, 1, 1, 1, 1, 1, 0
        };
    
        static {
            String s;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                handshake();
            } catch (IOException ex) { }
            return connection.getContentEncoding();
        }
    
        public long getExpiration() {
            try {
                handshake();
            } catch (IOException ex) { }
            return connection.getExpiration();
        }
    
        public long getDate() {
            try {
                handshake();
            } catch (IOException ex) { }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/transport/Transport.java

                        }
                    }
                } catch( IOException ioe ) {
                    if (log.level > 2)
                        ioe.printStackTrace( log );
                    try {
                        disconnect( true );
                    } catch( IOException ioe2 ) {
                        ioe2.printStackTrace( log );
                    }
                    throw ioe;
                } catch( InterruptedException ie ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/Crypto.java

            }
            catch ( NoSuchAlgorithmException e ) {
                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
    
        /**
         * 
         * @return MD5 digest
         */
        public static MessageDigest getMD5 () {
            try {
                return MessageDigest.getInstance("MD5");
            }
            catch ( NoSuchAlgorithmException e ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Aug 17 17:34:29 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/transport/Transport.java

            }
            catch ( IOException ioe ) {
                log.warn("sendrecv failed", ioe);
                try {
                    disconnect(true);
                }
                catch ( IOException ioe2 ) {
                    ioe.addSuppressed(ioe2);
                    log.info("disconnect failed", ioe2);
                }
                throw ioe;
            }
            catch ( InterruptedException ie ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/Handler.java

                            } catch (Exception ex) { }
                            if (handlerClass == null) {
                                handlerClass = ClassLoader.getSystemClassLoader(
                                        ).loadClass(className);
                            }
                            handler = (URLStreamHandler) handlerClass.newInstance();
                        } catch (Exception ex) { }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
Back to top