- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getSmbTransport (0.14 sec)
-
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// Return mocked transports doReturn(trans1).when(poolSpy).getSmbTransport(eq(ctx), eq(addr1), anyInt(), anyBoolean(), anyBoolean()); doReturn(trans2).when(poolSpy).getSmbTransport(eq(ctx), eq(addr2), anyInt(), anyBoolean(), anyBoolean()); // When: Get transport by name SmbTransportImpl result = poolSpy.getSmbTransport(ctx, "test.server", 445, false, false);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/SmbTransportPoolImpl.java
@Override public SmbTransportImpl getSmbTransport(final CIFSContext tc, final Address address, final int port, final boolean nonPooled) { return getSmbTransport(tc, address, port, tc.getConfig().getLocalAddr(), tc.getConfig().getLocalPort(), null, nonPooled); } @Override public SmbTransportImpl getSmbTransport(final CIFSContext tc, final Address address, final int port, final boolean nonPooled,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/main/java/jcifs/smb/SmbTreeConnection.java
log.debug("Using exclusive transport for " + this); } this.exclusiveTransport = this.ctx.getTransportPool() .getSmbTransport(this.ctx, host, loc.getPort(), true, loc.shouldForceSigning()) .unwrap(SmbTransportInternal.class); final SmbTransportInternal trans = this.exclusiveTransport;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
src/main/java/jcifs/http/NtlmHttpFilter.java
final UniAddress dc = new UniAddress(addr); try (SmbTransportInternal trans = tf.getTransportPool() .getSmbTransport(tf, dc, 0, false, tf.hasDefaultCredentials() && tf.getConfig().isIpcSigningEnforced()) .unwrap(SmbTransportInternal.class)) { if (!tf.hasDefaultCredentials()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
log.println("DFS redirect: " + dr); } final UniAddress addr = UniAddress.getByName(dr.server); final SmbTransport trans = SmbTransport.getSmbTransport(addr, url.getPort()); /* This is a key point. This is where we set the "tree" of this file which * is like changing the rug out from underneath our feet. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0)