- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 120 for trees (0.48 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java
import jcifs.Configuration; import jcifs.internal.TreeConnectResponse; import jcifs.internal.smb1.AndXServerMessageBlock; import jcifs.internal.smb1.ServerMessageBlock; /** * SMB1 Tree Connect AndX response implementation. * Handles server responses to tree connect requests in SMB1 protocol, providing * information about the connected share including service type and DFS capabilities. * * @author mbechler */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeDisconnect.java
/** * SMB1 COM_TREE_DISCONNECT command implementation. * * This command disconnects from a tree connection (share) on the server. * It releases the tree ID and terminates access to the share. */ public class SmbComTreeDisconnect extends ServerMessageBlock { /** * Constructs a tree disconnect request to close a connection to a shared resource. * * @param config the configuration to use */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
} /** * Test for getTreeType() method. * Verifies that the method returns the correct tree type. */ @Test void testGetTreeType() { when(smbTreeHandle.getTreeType()).thenReturn(SmbConstants.TYPE_SHARE); assertEquals(SmbConstants.TYPE_SHARE, smbTreeHandle.getTreeType(), "Tree type should be TYPE_SHARE"); when(smbTreeHandle.getTreeType()).thenReturn(SmbConstants.TYPE_PRINTER);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
*/ package jcifs.internal.smb2.tree; import jcifs.Configuration; import jcifs.internal.CommonServerMessageBlockRequest; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.TreeConnectResponse; import jcifs.internal.smb2.ServerMessageBlock2; import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.util.SMBUtil; /** * SMB2 Tree Connect response message. *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
@DisplayName("treeConnectLogon: valid share connects via tree") void testTreeConnectLogonValid() throws Exception { SmbSessionImpl session = spy(newSession()); when(configuration.getLogonShare()).thenReturn("LOGON$"); // Mock tree and ensure it is returned by getSmbTree SmbTreeImpl tree = mock(SmbTreeImpl.class); doReturn(tree).when(session).getSmbTree(eq("LOGON$"), isNull());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
} @Test @DisplayName("Test setTid sets tree ID") void testSetTid() { // Given Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L); int treeId = 42; // When request.setTid(treeId); // Then assertEquals(treeId, request.getTreeId(), "Tree ID should be set correctly"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
import jcifs.internal.smb1.AndXServerMessageBlock; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.util.SMBUtil; import jcifs.smb.NtlmPasswordAuthenticator; import jcifs.util.Hexdump; /** * SMB1 Tree Connect AndX request message. * * This command is used to connect to a shared resource * on the server, such as a file share or printer. */ public class SmbComTreeConnectAndX extends AndXServerMessageBlock {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/DfsReferral.java
/** Target share for this referral */ public String share; // Share /** The complete UNC path link */ public String link; /** Path relative to tree from which this referral was thrown */ public String path; // Path relative to tree from which this referral was thrown /** Whether to resolve hashes in the path */ public boolean resolveHashes; /** Expiration time for this referral entry */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbFileHandle.java
package jcifs; /** * Handle to an open file * * @author mbechler * */ public interface SmbFileHandle extends AutoCloseable { /** * Returns the tree handle associated with this file handle * * @return the tree */ SmbTreeHandle getTree(); /** * Checks if this file handle is still valid * * @return whether the file descriptor is valid */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0)