Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SmbWatchHandleImpl (1.45 sec)

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

    import jcifs.internal.smb2.notify.Smb2ChangeNotifyRequest;
    
    /**
     * @author mbechler
     *
     */
    class SmbWatchHandleImpl implements SmbWatchHandle {
    
        private static final Logger log = LoggerFactory.getLogger(SmbWatchHandleImpl.class);
    
        private final SmbFileHandleImpl handle;
        private final int filter;
        private final boolean recursive;
    
        /**
         * @param fh
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

        @Test
        @DisplayName("watch() throws when handle invalid")
        void watch_invalidHandle_throwsSmbException() throws Exception {
            when(handle.isValid()).thenReturn(false);
            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0, false);
    
            SmbException ex = assertThrows(SmbException.class, sut::watch, "Expected SmbException when handle invalid");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

                if (!th.isSMB2() && !th.hasCapability(SmbConstants.CAP_NT_SMBS)) {
                    throw new SmbUnsupportedOperationException("Not supported without CAP_NT_SMBS");
                }
                return new SmbWatchHandleImpl(openUnshared(O_RDONLY, READ_CONTROL | GENERIC_READ, DEFAULT_SHARING, 0, 1), filter, recursive);
            }
        }
    
        @Override
        public boolean canRead() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top