- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 29 for SmbTreeHandleImpl (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
import jcifs.internal.SmbNegotiationResponse; import jcifs.internal.smb1.com.SmbComNegotiateResponse; /** * @author mbechler * */ class SmbTreeHandleImpl implements SmbTreeHandleInternal { private static final Logger log = LoggerFactory.getLogger(SmbTreeHandleImpl.class); private final SmbResourceLocatorImpl resourceLoc; private final SmbTreeConnection treeConnection;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) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
// Arrange SmbFile src = mock(SmbFile.class); SmbFile dest = mock(SmbFile.class); SmbTreeHandleImpl sh = mock(SmbTreeHandleImpl.class); SmbTreeHandleImpl dh = mock(SmbTreeHandleImpl.class); when(sh.isSMB2()).thenReturn(true); when(dh.isSMB2()).thenReturn(true); when(sh.isSameTree(dh)).thenReturn(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
*/ public synchronized SmbTreeHandleImpl connectHost(final SmbResourceLocatorImpl loc, final String host) throws IOException { return connectHost(loc, host, null); } /** * * @param loc * @param host * @param referral * @return tree handle * @throws IOException */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) -
src/main/java/jcifs/smb/SmbPipeOutputStream.java
private final SmbPipeHandleImpl handle; /** * @param handle * @throws SmbException */ SmbPipeOutputStream(final SmbPipeHandleImpl handle, final SmbTreeHandleImpl th) throws CIFSException { super(handle.getPipe(), th, null, 0, 0, 0); this.handle = handle; } /** * {@inheritDoc} * * @see jcifs.smb.SmbFileOutputStream#isOpen()Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
private final Configuration cfg; private final int fid; private final byte[] fileId; private boolean open = true; private final long tree_num; // for checking whether the tree changed private SmbTreeHandleImpl tree; private final AtomicLong usageCount = new AtomicLong(1); private final int flags; private final int access; private final int attrs; private final int options;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.4K bytes - Click Count (1) -
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
if (!smbFile.isDirectory()) { throw new SmbException("Not a directory: " + smbFile.getPath()); } try (SmbTreeHandleImpl th = smbFile.ensureTreeConnected()) { // Check if we can use directory leasing DirectoryLeaseManager dirManager = getDirectoryLeaseManager(th);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 7.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
if (rpc.retval != 0) { throw new SmbException(rpc.retval, true); } return rpc.getEntries(); } } static FileEntry[] doNetShareEnum(final SmbTreeHandleImpl th) throws CIFSException { final SmbComTransaction req = new NetShareEnum(th.getConfig()); final SmbComTransactionResponse resp = new NetShareEnumResponse(th.getConfig()); th.send(req, resp);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
* @param searchAttributes the file attributes to search for * @throws CIFSException if an error occurs during initialization */ public DirFileEntryEnumIterator2(final SmbTreeHandleImpl th, final SmbResource parent, final String wildcard, final ResourceNameFilter filter, final int searchAttributes) throws CIFSException { super(th, parent, wildcard, filter, searchAttributes); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
super(handle.getPipe(), th, null); this.handle = handle; } /** * Ensures that the tree connection is established. * * @return the tree handle implementation * @throws CIFSException if a connection error occurs */ protected synchronized SmbTreeHandleImpl ensureTreeConnected() throws CIFSException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
if (!(d instanceof final SmbFile dest)) { throw new SmbException("Invalid target resource"); } try (SmbTreeHandleImpl sh = ensureTreeConnected(); SmbTreeHandleImpl th = dest.ensureTreeConnected()) { // this still might be required for standalone DFS if (!exists()) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0)