- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for SmbTransport (0.12 sec)
-
src/main/java/jcifs/smb1/smb1/SmbTransport.java
*/ public class SmbTransport extends Transport implements SmbConstants { static final byte[] BUF = new byte[0xFFFF]; static final SmbComNegotiate NEGOTIATE_REQUEST = new SmbComNegotiate(); static LogStream log = LogStream.getInstance(); static HashMap dfsRoots = null; static synchronized SmbTransport getSmbTransport(final UniAddress address, final int port) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
*/ public SmbTransport getDc(final String domain, final NtlmPasswordAuthentication auth) throws SmbAuthException { if (DISABLED) { return null; } try { UniAddress addr = UniAddress.getByName(domain, true); final SmbTransport trans = SmbTransport.getSmbTransport(addr, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
void testMultipleTransportTypes() throws Exception { // Given SmbTransport sharedTransport = mock(SmbTransport.class); SmbTransport exclusiveTransport = mock(SmbTransport.class); SmbTransport signedTransport = mock(SmbTransport.class); when(transportPool.getSmbTransport(context, address, DEFAULT_PORT, false)).thenReturn(sharedTransport);
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/test/java/jcifs/smb/SmbTransportImplTest.java
void unwrapBehavior() { // Happy paths SmbTransport asIface = transport.unwrap(SmbTransport.class); assertSame(transport, asIface); SmbTransportInternal asInternal = transport.unwrap(SmbTransportInternal.class); assertSame(transport, asInternal); // Invalid type should throw class OtherTransport implements SmbTransport { @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
final UniAddress dc = new UniAddress(addr); final SmbTransport trans = SmbTransport.getSmbTransport(dc, 0); if (USERNAME == null) { trans.connect(); if (LogStream.level >= 3) { SmbTransport.log.println(""" Default credentials (jcifs.smb1.smb1.client.username/password)\
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.atomic.AtomicLong; import jcifs.SmbTransport; import jcifs.internal.CommonServerMessageBlock; /** * Information about a multi-channel connection */ public class ChannelInfo { private final String channelId; private volatile SmbTransport transport; private final NetworkInterfaceInfo localInterface;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
} } private void attemptRecoveryWithTransport(ChannelInfo channel, FailoverState state, SmbTransport newTransport) { try { log.info("Attempting to recover channel {}", channel.getChannelId()); // Disconnect existing transport SmbTransport oldTransport = channel.getTransport(); if (oldTransport != null) { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 11.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
* @return whether (non-exclusive) connection is in the pool */ public boolean contains(final SmbTransport trans) { cleanup(); return this.connections.contains(trans); } @Override public void removeTransport(final SmbTransport trans) { if (log.isDebugEnabled()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
} } ``` ### 4.2 Channel Information ```java package jcifs.internal.smb2.multichannel; import jcifs.smb.SmbTransport; import java.util.concurrent.atomic.AtomicLong; public class ChannelInfo { private final String channelId; private final SmbTransport transport; private final NetworkInterfaceInfo localInterface; private final NetworkInterfaceInfo remoteInterface;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
* @return created transport * @throws IOException if transport creation fails */ public SmbTransport createTransport(NetworkInterfaceInfo localInterface, NetworkInterfaceInfo remoteInterface) throws IOException { // This would need to be implemented based on the actual SmbTransport constructor // For now, return null - this needs integration with the actual transport creation
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 20K bytes - Viewed (0)