Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getAsyncId (0.05 sec)

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

            // Then
            assertEquals(SMB2_CANCEL, request.getCommand());
            assertEquals(mid, request.getMid());
            assertEquals(asyncId, request.getAsyncId());
            assertTrue((request.getFlags() & SMB2_FLAGS_ASYNC_COMMAND) != 0, "Async flag should be set when asyncId is non-zero");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#isResponseAsync()
         */
        @Override
        public boolean isResponseAsync() {
            return getAsyncId() != 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#allowChain(jcifs.internal.CommonServerMessageBlockRequest)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                Smb2CancelRequest smb2Cancel = (Smb2CancelRequest) cancelRequest;
                assertEquals(mid, smb2Cancel.getMid());
                assertEquals(asyncId, smb2Cancel.getAsyncId());
            }
        }
    
        @Nested
        @DisplayName("Chain Operation Tests")
        class ChainOperationTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
    
            @Test
            @DisplayName("Should get and set async ID")
            void testAsyncIdProperty() {
                assertEquals(0, testMessage.getAsyncId());
                testMessage.setAsyncId(67890L);
                assertEquals(67890L, testMessage.getAsyncId());
            }
    
            @Test
            @DisplayName("Should get and set credit")
            void testCreditProperty() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

                this.next.setTreeId(treeId);
            }
        }
    
        /**
         * Gets the asynchronous identifier for this message.
         *
         * @return the asyncId
         */
        public final long getAsyncId() {
            return this.asyncId;
        }
    
        /**
         * Sets the asynchronous identifier for this message.
         *
         * @param asyncId
         *            the asyncId to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

            synchronized (resp) {
                if (resp.isAsync() && !resp.isAsyncHandled() && resp.getStatus() == NtStatus.NT_STATUS_PENDING && resp.getAsyncId() != 0) {
                    resp.setAsyncHandled(true);
                    final boolean first = !req.isAsync();
                    req.setAsyncId(resp.getAsyncId());
                    final Long exp = resp.getExpiration();
                    if (exp != null) {
    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