Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Smb2ChangeNotifyResponse (0.12 sec)

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

     *
     * @author mbechler
     */
    public class Smb2ChangeNotifyResponse extends ServerMessageBlock2Response implements NotifyResponse {
    
        private final List<FileNotifyInformation> notifyInformation = new ArrayList<>();
    
        /**
         * Constructs a change notify response
         *
         * @param config
         *            The configuration to use
         */
        public Smb2ChangeNotifyResponse(final Configuration config) {
            super(config);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtStatus;
    
    /**
     * Test class for Smb2ChangeNotifyResponse functionality
     */
    @DisplayName("Smb2ChangeNotifyResponse Tests")
    class Smb2ChangeNotifyResponseTest extends BaseTest {
    
        private Configuration mockConfig;
        private Smb2ChangeNotifyResponse response;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

         *      jcifs.internal.smb2.ServerMessageBlock2Request)
         */
        @Override
        protected Smb2ChangeNotifyResponse createResponse(final CIFSContext tc,
                final ServerMessageBlock2Request<Smb2ChangeNotifyResponse> req) {
            return new Smb2ChangeNotifyResponse(tc.getConfig());
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/NotifyResponseTest.java

            assertNotNull(notifications);
            assertTrue(notifications.isEmpty());
        }
    
        @Test
        @DisplayName("Test Smb2ChangeNotifyResponse concrete implementation")
        void testSmb2ChangeNotifyResponse() {
            Smb2ChangeNotifyResponse response = new Smb2ChangeNotifyResponse(mockConfig);
    
            // Test interface implementation
            assertTrue(response instanceof NotifyResponse);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        @Test
        @DisplayName("Should create correct response")
        void testCreateResponse() {
            // When
            Smb2ChangeNotifyResponse response = request.createResponse(mockContext, request);
    
            // Then
            assertNotNull(response);
            assertTrue(response instanceof Smb2ChangeNotifyResponse);
        }
    
        @Test
        @DisplayName("Should calculate correct size")
        void testSize() {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. docs/smb3-features/04-directory-leasing-design.md

                        request.setCompletionFilter(getNotificationFilter());
                        request.setWatchTree(false);  // Non-recursive for now
                        
                        Smb2ChangeNotifyResponse response = (Smb2ChangeNotifyResponse) 
                            handle.directoryFile.getTree().send(request);
                        
                        if (response.isSuccess()) {
    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