Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getAsyncId (0.27 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/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)
  3. 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)
  4. 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)
Back to top