Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getEndpoint (0.28 sec)

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

            assertEquals(SERVER, dcerpcBinding.getServer(), "Server should match the constructor argument.");
            assertNull(dcerpcBinding.getOptions(), "Options should be null initially.");
            assertNull(dcerpcBinding.getEndpoint(), "Endpoint should be null initially.");
            assertNull(dcerpcBinding.getUuid(), "UUID should be null initially.");
            assertEquals(0, dcerpcBinding.getMajor(), "Major version should be 0 initially.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                assertNotNull(binding);
                assertEquals(expectedProto, binding.getProto());
                assertEquals(expectedServer, binding.getServer());
                assertEquals(expectedEndpoint, binding.getEndpoint());
            }
    
            @ParameterizedTest
            @DisplayName("Should handle IPv6 addresses correctly")
            @CsvSource({ "'ncacn_np:[::1][endpoint=\\pipe\\srvsvc]', ncacn_np, '[::1]', '\\pipe\\srvsvc'" })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcBinding.java

         */
        public String getServer() {
            return this.server;
        }
    
        /**
         * Get the endpoint for this binding.
         * @return the endpoint
         */
        public String getEndpoint() {
            return this.endpoint;
        }
    
        /**
         * @return the uuid
         */
        UUID getUuid() {
            return this.uuid;
        }
    
        /**
         * @return the major
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

        private String makePipeUrl() {
            final DcerpcBinding binding = getBinding();
            StringBuilder url =
                    new StringBuilder("smb://").append(binding.getServer()).append("/IPC$/").append(binding.getEndpoint().substring(6));
    
            String params = "";
            final String server = (String) binding.getOption("server");
            if (server != null) {
                params += "&server=" + server;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            lenient().when(mockSmbNamedPipe.getLocator()).thenReturn(mockSmbResourceLocator);
            lenient().when(mockDcerpcBinding.getServer()).thenReturn(TEST_SERVER);
            lenient().when(mockDcerpcBinding.getEndpoint()).thenReturn(TEST_ENDPOINT);
            lenient().when(mockContext.getBufferCache()).thenReturn(mockBufferCache);
    
            // Setup buffer cache to return buffers for sendrecv operations
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                    break;
                default:
                    si = arr.length;
                }
    
                si++;
            } while (si < arr.length);
    
            if (binding == null || binding.getEndpoint() == null) {
                throw new DcerpcException("Invalid binding URL: " + str);
            }
    
            return binding;
        }
    
        private static final AtomicInteger call_id = new AtomicInteger(1);
    
    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