Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getMaxRecv (0.06 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                // Given
                int maxXmit = 4096;
                int maxRecv = 4096;
                when(mockHandle.getMaxXmit()).thenReturn(maxXmit);
                when(mockHandle.getMaxRecv()).thenReturn(maxRecv);
    
                // When
                DcerpcBind bindWithParams = new DcerpcBind(mockBinding, mockHandle);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            lenient().doCallRealMethod().when(handle).doReceiveFragment(any(byte[].class));
            lenient().doCallRealMethod().when(handle).close();
    
            // Add getMaxRecv() to return correct value
            lenient().when(handle.getMaxRecv()).thenReturn(4280);
    
            return handle;
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

            void testGetters() throws CIFSException {
                // When/Then: All getters should return expected values
                assertEquals(mockBinding, handle.getBinding());
                assertTrue(handle.getMaxRecv() > 0);
                assertTrue(handle.getMaxXmit() > 0);
                assertEquals("test_server", handle.getServer());
                assertEquals("test_server_dfs", handle.getServerWithDfs());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         *
         * @return the binding
         */
        public DcerpcBinding getBinding() {
            return this.binding;
        }
    
        /**
         * @return the max_recv
         */
        int getMaxRecv() {
            return this.max_recv;
        }
    
        /**
         * @return the max_xmit
         */
        int getMaxXmit() {
            return this.max_xmit;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top