Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

         */
        @Override
        public boolean isIPC() {
            final String shr = this.getShare();
            if (shr == null || "IPC$".equals(getShare())) {
                if (log.isDebugEnabled()) {
                    log.debug("Share is IPC " + this.share);
                }
                return true;
            }
            return false;
        }
    
        /**
         * @param t
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  2. 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)
  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/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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

                        if (this.netbiosName != null && tcax.getPath().endsWith("\\IPC$")) {
                            /*
                             * Some pipes may require that the hostname in the tree connect
                             * be the netbios name. So if we have the netbios server name
                             * from the NTLMSSP type 2 message, and the share is IPC$, we
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
Back to top