- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for setAsyncId (0.09 sec)
-
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
void testIsResponseAsyncFalse() { testRequest.setAsyncId(0); assertFalse(testRequest.isResponseAsync()); } @Test @DisplayName("isResponseAsync should return true when asyncId is not 0") void testIsResponseAsyncTrue() { testRequest.setAsyncId(12345L); assertTrue(testRequest.isResponseAsync()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
return this.asyncId; } /** * Sets the asynchronous identifier for this message. * * @param asyncId * the asyncId to set */ public final void setAsyncId(final long asyncId) { this.asyncId = asyncId; } /** * Gets the credit count for this message. * * @return the credit */ public final int getCredit() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
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)