Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Smb2ChangeNotifyRequest (0.27 sec)

  1. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

    /**
     * SMB2 Change Notify request message.
     *
     * This command is used to monitor a directory for changes
     * and receive notifications when modifications occur.
     *
     * @author mbechler
     */
    public class Smb2ChangeNotifyRequest extends ServerMessageBlock2Request<Smb2ChangeNotifyResponse> {
    
        /**
         * Flag to watch the directory tree recursively
         */
        public static final int SMB2_WATCH_TREE = 0x1;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // Given - all possible filters
            int allFilters = Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_FILE_NAME | Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_DIR_NAME
                    | Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_ATTRIBUTES | Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_SIZE
                    | Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_LAST_WRITE | Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_LAST_ACCESS
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

                NotifyResponse resp = null;
                if (th.isSMB2()) {
                    final Smb2ChangeNotifyRequest r = new Smb2ChangeNotifyRequest(th.getConfig(), this.handle.getFileId());
                    r.setCompletionFilter(this.filter);
                    r.setNotifyFlags(this.recursive ? Smb2ChangeNotifyRequest.SMB2_WATCH_TREE : 0);
                    req = r;
                } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

    import jcifs.SmbConstants;
    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.NotifyResponse;
    import jcifs.internal.smb1.trans.nt.NtTransNotifyChange;
    import jcifs.internal.smb2.notify.Smb2ChangeNotifyRequest;
    
    /**
     * Tests for SmbWatchHandleImpl focusing on behavior and interactions.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbWatchHandleImplTest {
    
        @Mock
        SmbFileHandleImpl handle;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. docs/smb3-features/04-directory-leasing-design.md

            CompletableFuture.runAsync(() -> {
                while (handle.active) {
                    try {
                        // Send SMB2 Change Notify request
                        Smb2ChangeNotifyRequest request = new Smb2ChangeNotifyRequest();
                        request.setFileId(handle.directoryFile.getFileId());
                        request.setCompletionFilter(getNotificationFilter());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top