Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for FileNotifyInformation (0.23 sec)

  1. src/main/java/jcifs/FileNotifyInformation.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    /**
     * File notification information
     *
     *
     * @author mbechler
     *
     */
    public interface FileNotifyInformation {
    
        // filter flags
    
        /**
         * Any file name change in the watched directory or subtree causes a change notification wait operation to return.
         * Changes include renaming, creating, or deleting a file.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/NotifyResponseTest.java

            FileNotifyInformation addedFile = mock(FileNotifyInformation.class);
            when(addedFile.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_ADDED);
            when(addedFile.getFileName()).thenReturn("added.txt");
    
            FileNotifyInformation removedFile = mock(FileNotifyInformation.class);
            when(removedFile.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_REMOVED);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponse.java

     */
    
    package jcifs.internal.smb1.trans.nt;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import jcifs.Configuration;
    import jcifs.FileNotifyInformation;
    import jcifs.internal.NotifyResponse;
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Response for SMB1 NT Transaction change notification.
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

        @ParameterizedTest
        @ValueSource(ints = { FileNotifyInformation.FILE_ACTION_ADDED, FileNotifyInformation.FILE_ACTION_REMOVED,
                FileNotifyInformation.FILE_ACTION_MODIFIED, FileNotifyInformation.FILE_ACTION_RENAMED_OLD_NAME,
                FileNotifyInformation.FILE_ACTION_RENAMED_NEW_NAME, FileNotifyInformation.FILE_ACTION_ADDED_STREAM,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/FileNotifyInformationTest.java

                        FileNotifyInformation.FILE_NOTIFY_CHANGE_LAST_WRITE, FileNotifyInformation.FILE_NOTIFY_CHANGE_LAST_ACCESS,
                        FileNotifyInformation.FILE_NOTIFY_CHANGE_CREATION, FileNotifyInformation.FILE_NOTIFY_CHANGE_EA,
                        FileNotifyInformation.FILE_NOTIFY_CHANGE_SECURITY, FileNotifyInformation.FILE_NOTIFY_CHANGE_STREAM_NAME,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.java

     */
    package jcifs.internal.smb2.notify;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import jcifs.Configuration;
    import jcifs.FileNotifyInformation;
    import jcifs.internal.NotifyResponse;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb1.trans.nt.FileNotifyInformationImpl;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        @ValueSource(ints = { FileNotifyInformation.FILE_ACTION_ADDED, FileNotifyInformation.FILE_ACTION_REMOVED,
                FileNotifyInformation.FILE_ACTION_MODIFIED, FileNotifyInformation.FILE_ACTION_RENAMED_OLD_NAME,
                FileNotifyInformation.FILE_ACTION_RENAMED_NEW_NAME, FileNotifyInformation.FILE_ACTION_ADDED_STREAM,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbWatchHandleTest.java

    class SmbWatchHandleTest {
    
        @Mock
        private SmbWatchHandle watchHandle;
    
        @Mock
        private FileNotifyInformation fileNotifyInfo1;
    
        @Mock
        private FileNotifyInformation fileNotifyInfo2;
    
        @Mock
        private FileNotifyInformation fileNotifyInfo3;
    
        private List<FileNotifyInformation> mockNotifications;
    
        @BeforeEach
        void setUp() {
            mockNotifications = new ArrayList<>();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java

    import jcifs.Decodable;
    import jcifs.FileNotifyInformation;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    import jcifs.util.Strings;
    
    /**
     * File notification information
     *
     *
     * @author mbechler
     *
     */
    public class FileNotifyInformationImpl implements FileNotifyInformation, Decodable {
    
        int nextEntryOffset;
        int action;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

        @Test
        @DisplayName("watch() clears notify list on error 0x10C and returns it")
        void watch_clearsList_onError10C() throws Exception {
            List<FileNotifyInformation> info = spy(new ArrayList<FileNotifyInformation>());
            info.add(mock(FileNotifyInformation.class));
            NotifyResponse resp = mock(NotifyResponse.class);
            when(resp.isReceived()).thenReturn(true);
            when(resp.getErrorCode()).thenReturn(0x10C);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top