Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getMaxXmit (0.04 sec)

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

            void testPackageConstructor() throws Exception {
                // 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/main/java/jcifs/dcerpc/DcerpcBind.java

         *
         */
        public DcerpcBind() {
        }
    
        DcerpcBind(final DcerpcBinding binding, final DcerpcHandle handle) {
            this.binding = binding;
            this.max_xmit = handle.getMaxXmit();
            this.max_recv = handle.getMaxRecv();
            this.ptype = 11;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        @Override
        public int getOpnum() {
            return 0;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                // 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());
                assertEquals(mockContext, handle.getTransportContext());
    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 max_recv
         */
        int getMaxRecv() {
            return this.max_recv;
        }
    
        /**
         * @return the max_xmit
         */
        int getMaxXmit() {
            return this.max_xmit;
        }
    
        /**
         * Get a handle to a service
         *
         * @param url
         *            the DCE/RPC service URL
         * @param tc
    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