- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for ensureTreeConnected (0.14 seconds)
-
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
} @Test @DisplayName("ensureTreeConnected delegates and returns the tree handle") void ensureTreeConnected_delegatesAndReturns() throws Exception { // Arrange SmbPipeOutputStream out = newStream(); when(handle.ensureTreeConnected()).thenReturn(tree); // Act SmbTreeHandleImpl result = out.ensureTreeConnected(); // AssertCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeOutputStream.java
*/ @Override public boolean isOpen() { return this.handle.isOpen(); } @Override protected synchronized SmbTreeHandleImpl ensureTreeConnected() throws CIFSException { return this.handle.ensureTreeConnected(); } @Override protected synchronized SmbFileHandleImpl ensureOpen() throws CIFSException { return this.handle.ensureOpen(); } /**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/SmbPipeInputStream.java
* * @return the tree handle implementation * @throws CIFSException if a connection error occurs */ protected synchronized SmbTreeHandleImpl ensureTreeConnected() throws CIFSException { return this.handle.ensureTreeConnected(); } @Override protected synchronized SmbFileHandleImpl ensureOpen() throws CIFSException { return this.handle.ensureOpen(); } /**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/SmbPipeHandleInternal.java
* Ensures that the tree connection is established and returns it. * * @return tree connection * @throws CIFSException if an error occurs connecting to the tree */ SmbTreeHandleInternal ensureTreeConnected() throws CIFSException; /** * Ensures that the file handle is open and returns it. * * @return file handle * @throws CIFSException if an error occurs opening the file */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.7K bytes - Click Count (0) -
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)