Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getConnectedShare (0.08 sec)

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

            return this.treeConnection.getTreeType();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTreeHandle#getConnectedShare()
         */
        @Override
        public String getConnectedShare() {
            return this.treeConnection.getConnectedShare();
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.SmbTreeHandle#isSameTree(jcifs.SmbTreeHandle)
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbTreeHandleTest.java

        }
    
        /**
         * Test for getConnectedShare() method.
         * Verifies that the method returns the correct connected share name.
         */
        @Test
        void testGetConnectedShare() {
            when(smbTreeHandle.getConnectedShare()).thenReturn("TEST_SHARE");
            assertEquals("TEST_SHARE", smbTreeHandle.getConnectedShare(), "Connected share should be TEST_SHARE");
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbTreeHandle.java

         */
        String getOEMDomainName() throws CIFSException;
    
        /**
         * Gets the name of the share this tree is connected to
         * @return the share we are connected to
         */
        String getConnectedShare();
    
        /**
         * Checks if this tree handle refers to the same tree as another
         * @param th the tree handle to compare with
         * @return whether the handles refer to the same tree
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeConnection.java

            }
        }
    
        /**
         *
         * Only call this method while holding a tree handle
         *
         * @return the share we are connected to
         */
        public String getConnectedShare() {
            try (SmbTreeImpl t = getTree()) {
                return t.getShare();
            }
        }
    
        /**
         *
         * Only call this method while holding a tree handle
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb/SmbFile.java

                String server = this.fileLocator.getServerWithDfs();
                ACE[] aces;
                final MsrpcShareGetInfo rpc = new MsrpcShareGetInfo(server, th.getConnectedShare());
                if (this.fileLocator.getDfsPath() == null && this.fileLocator.getPort() != -1) {
                    server = server + ":" + this.fileLocator.getPort();
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top