Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for DcerpcException (0.07 sec)

  1. src/main/java/jcifs/dcerpc/DcerpcBind.java

            return result < 4 ? result_message[result] : "0x" + jcifs.util.Hexdump.toHexString(result, 4);
        }
    
        @Override
        public DcerpcException getResult() {
            if (this.result != 0) {
                return new DcerpcException(getResultMessage(this.result));
            }
            return null;
        }
    
        private DcerpcBinding binding;
        private int max_xmit, max_recv;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

            return result < 4 ? result_message[result] : "0x" + jcifs.smb1.util.Hexdump.toHexString(result, 4);
        }
    
        @Override
        public DcerpcException getResult() {
            if (result != 0) {
                return new DcerpcException(getResultMessage(result));
            }
            return null;
        }
    
        DcerpcBinding binding;
        int max_xmit, max_recv;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcBinding.java

            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);
                if (lep.startsWith("\\pipe\\")) {
    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

         * @param unshared whether to use an exclusive connection
         * @throws DcerpcException if DCERPC initialization fails
         * @throws MalformedURLException if the URL is malformed
         */
        public DcerpcPipeHandle(final String url, final CIFSContext tc, final boolean unshared) throws DcerpcException, MalformedURLException {
            super(tc, DcerpcHandle.parseBinding(url));
    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/main/java/jcifs/smb/SmbEnumerationUtil.java

    import jcifs.CloseableIterator;
    import jcifs.ResourceFilter;
    import jcifs.ResourceNameFilter;
    import jcifs.SmbConstants;
    import jcifs.SmbResource;
    import jcifs.SmbResourceLocator;
    import jcifs.dcerpc.DcerpcException;
    import jcifs.dcerpc.DcerpcHandle;
    import jcifs.dcerpc.msrpc.MsrpcDfsRootEnum;
    import jcifs.dcerpc.msrpc.MsrpcShareEnum;
    import jcifs.internal.smb1.net.NetShareEnum;
    import jcifs.internal.smb1.net.NetShareEnumResponse;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

                assertNull(message.getResult());
            }
    
            @Test
            @DisplayName("getResult should return DcerpcException for non-zero result")
            void testGetResultError() {
                message.result = 123; // Example error code
                DcerpcException exception = message.getResult();
                assertNotNull(exception);
                assertEquals(123, exception.getErrorCode());
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

                this.result = r;
            }
        }
    
        @Test
        void testGetResult() {
            ResultMsg m = new ResultMsg();
            assertNull(m.getResult());
            m.setResult(0xDEAD);
            DcerpcException e = m.getResult();
            assertEquals(0xDEAD, e.getErrorCode());
        }
    
        @Test
        void testEncodeHeaderAndDecodeHeader() throws Exception {
            TestMessage m = new TestMessage();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top