Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setAsyncId (0.09 sec)

  1. 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)
  2. 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)
  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)
Back to top