- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for removeTransport (0.08 seconds)
-
src/test/java/jcifs/SmbTransportPoolTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
src/main/java/jcifs/SmbTransportPool.java
boolean exclusive, boolean forceSigning); /** * Removes a transport from the pool. * * @param trans the transport to remove */ void removeTransport(SmbTransport trans); /** * Closes the pool and all connections in it * * @return whether any transport was still in use *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
try { trans.ensureConnected(); } catch (final IOException e) { removeTransport(trans); throw e; } return trans.acquire(); } catch (final IOException e) { final String hostAddress = addr.getHostAddress();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 33.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} finally { this.socket = null; this.digest = null; this.tconHostName = null; this.transportContext.getTransportPool().removeTransport(this); } return wasInUse; } @Override protected long makeKey(final Request request) throws IOException { long m = this.mid.incrementAndGet() - 1;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
assertTrue(pool.contains(transport), "Transport should be in pool initially"); // When: Remove the transport pool.removeTransport(transport); // Then: Transport should no longer be in pool assertFalse(pool.contains(transport), "Transport should be removed from pool"); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K bytes - Click Count (0)