Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isAsyncHandled (0.51 sec)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            @Test
            @DisplayName("Should get and set async handled")
            void testAsyncHandled() {
                assertFalse(response.isAsyncHandled());
    
                response.setAsyncHandled(true);
    
                assertTrue(response.isAsyncHandled());
            }
        }
    
        @Nested
        @DisplayName("Error Code Tests")
        class ErrorCodeTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

            void testAsyncOperations() {
                assertFalse(echoResponse.isAsyncHandled());
    
                echoResponse.setAsyncHandled(true);
    
                assertTrue(echoResponse.isAsyncHandled());
    
                echoResponse.setAsyncHandled(false);
    
                assertFalse(echoResponse.isAsyncHandled());
            }
        }
    
        @Nested
        @DisplayName("Expiration Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        }
    
        /**
         * Checks whether the asynchronous interim response has been handled.
         *
         * @return whether the interim response has been handled
         */
        public boolean isAsyncHandled() {
            return this.asyncHandled;
        }
    
        /**
         * Sets whether the asynchronous interim response has been handled.
         *
         * @param asyncHandled
         *            the asyncHandled to set
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

            final ServerMessageBlock2Response resp = (ServerMessageBlock2Response) response;
            synchronized (resp) {
                if (resp.isAsync() && !resp.isAsyncHandled() && resp.getStatus() == NtStatus.NT_STATUS_PENDING && resp.getAsyncId() != 0) {
                    resp.setAsyncHandled(true);
                    final boolean first = !req.isAsync();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top