- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for removeTransport (0.26 sec)
-
src/test/java/jcifs/SmbTransportPoolTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (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 *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.5K bytes - Viewed (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();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (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;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0)