Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setOption (0.04 sec)

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

            String endpoint = "\\pipe\\srvsvc";
            dcerpcBinding.setOption("endpoint", endpoint);
            assertEquals(endpoint, dcerpcBinding.getOption("endpoint"), "Should return the set endpoint.");
        }
    
        @Test
        void testGetOptionOtherKey() throws DcerpcException {
            dcerpcBinding.setOption("connect", "80");
            assertEquals("80", dcerpcBinding.getOption("connect"), "Should return the set option value.");
        }
    
    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/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

        UUID uuid = null;
        int major;
        int minor;
    
        DcerpcBinding(final String proto, final String server) {
            this.proto = proto;
            this.server = server;
        }
    
        void setOption(final String key, final Object val) throws DcerpcException {
            if (key.equals("endpoint")) {
                endpoint = val.toString();
                final String lep = endpoint.toLowerCase();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcBinding.java

         */
        int getMajor() {
            return this.major;
        }
    
        /**
         * @return the minor
         */
        int getMinor() {
            return this.minor;
        }
    
        void setOption(final String key, final Object val) throws DcerpcException {
            if (key.equals("endpoint")) {
                this.endpoint = val.toString();
                final String lep = this.endpoint.toLowerCase(Locale.ENGLISH);
    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/smb1/dcerpc/DcerpcPipeHandle.java

            String params = "", server, address;
            server = (String) binding.getOption("server");
            if (server != null) {
                params += "&server=" + server;
            }
            address = (String) binding.getOption("address");
            if (server != null) {
                params += "&address=" + address;
            }
            if (params.length() > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

            String params = "";
            final String server = (String) binding.getOption("server");
            if (server != null) {
                params += "&server=" + server;
            }
            final String address = (String) binding.getOption("address");
            if (address != null) {
                params += "&address=" + address;
            }
            if (params.length() > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top