Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

The search processing time has exceeded the limit. The displayed results may be partial.

  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)
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        @DisplayName("Tree properties delegate: getTreeType/getConnectedShare")
        void treePropertiesDelegate() {
            // Validates simple property delegation to the connection
            when(treeConnection.getTreeType()).thenReturn(7);
            when(treeConnection.getConnectedShare()).thenReturn("SHARE");
            assertEquals(7, handle.getTreeType());
            assertEquals("SHARE", handle.getConnectedShare());
            verify(treeConnection).getTreeType();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  3. 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");
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  4. 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
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. 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
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
Back to Top