Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for IPC (0.01 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbTree.java

                        throw new SmbException("Invalid operation for " + service + " service" + request);
                    }
                }
                request.tid = tid;
                if (inDfs && !service.equals("IPC") && request.path != null && request.path.length() > 0) {
                    /* When DFS is in action all request paths are
                     * full UNC paths minus the first backslash like
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

                throws UnknownHostException, MalformedURLException, DcerpcException {
            binding = DcerpcHandle.parseBinding(url);
            url = "smb1://" + binding.server + "/IPC$/" + binding.endpoint.substring(6);
    
            String params = "", server, address;
            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
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            void testGetService() throws Exception {
                // Given
                setPrivateField(response, "service", "IPC");
    
                // When
                String service = response.getService();
    
                // Then
                assertEquals("IPC", service, "Should return the service type");
            }
    
            @Test
            @DisplayName("Should return native file system")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbResourceLocator.java

         */
        Address getAddress() throws CIFSException;
    
        /**
         * Determines whether this resource represents an IPC (Inter-Process Communication) connection.
         *
         * @return whether this is a IPC connection
         */
        boolean isIPC();
    
        /**
         * Returns type of of object this <code>SmbFile</code> represents.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/DfsTest.java

            @Override
            public synchronized DfsReferral resolve(String domain, String root, String path, NtlmPasswordAuthentication auth)
                    throws SmbAuthException {
                if (disabled || root.equals("IPC$")) {
                    return null;
                }
                return super.resolve(domain, root, path, auth);
            }
        }
    
        @BeforeEach
        void setUp() {
            dfs = new Dfs();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/jcifs/context/CIFSContextWrapperTest.java

        }
    
        @Test
        void testGetPipe() throws CIFSException, MalformedURLException {
            // Test getPipe(String url, int pipeType) method
            String url = "smb://server/IPC$/pipeName"; // Corrected URL for named pipe
            int pipeType = 1;
            SmbPipeResource mockSmbPipeResource = mock(SmbNamedPipe.class);
    
            // Similar to testGetSmbResource, we cannot directly mock `new SmbNamedPipe()`.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        void getSmbTree_happy() {
            when(session.getSmbTree(anyString(), anyString())).thenReturn(tree);
    
            String share = "share";
            String svc = "A:"; // service string example (e.g., DISK, IPC, or other)
            SmbTree result = session.getSmbTree(share, svc);
    
            assertSame(tree, result);
    
            ArgumentCaptor<String> shareCap = ArgumentCaptor.forClass(String.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

     */
    public class SmbShareInfo implements FileEntry {
    
        /**
         * The network name of the share.
         */
        protected String netName;
        /**
         * The type of the share (e.g., disk, printer, IPC).
         */
        protected int type;
        /**
         * The optional comment or description for the share.
         */
        protected String remark;
    
        /**
         * Default constructor for SmbShareInfo.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
    
            try (SmbSessionImpl sess = getSmbSession(ctx, targetHost, targetDomain);
                    SmbTransportImpl transport = sess.getTransport();
                    SmbTreeImpl ipc = sess.getSmbTree("IPC$", null)) {
    
                final DfsReferralRequestBuffer dfsReq = new DfsReferralRequestBuffer(path, 3);
                DfsReferralResponseBuffer dfsResp;
                if (isSMB2()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top