- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ensureConnected (0.08 sec)
-
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(trans2.unwrap(SmbTransportImpl.class)).thenReturn(trans2); when(trans2.ensureConnected()).thenThrow(new IOException("Connection failed")); doNothing().when(trans2).close(); when(trans1.unwrap(SmbTransportImpl.class)).thenReturn(trans1); when(trans1.ensureConnected()).thenReturn(true); when(trans1.acquire()).thenReturn(trans1); doNothing().when(trans1).close();
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
} try (SmbTransportImpl trans = getSmbTransport(tf, addr, port, exclusive, forceSigning).unwrap(SmbTransportImpl.class)) { try { trans.ensureConnected(); } catch (final IOException e) { removeTransport(trans); throw e; } return trans.acquire();
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/MultiChannelManager.java
SmbTransportImpl transport = new SmbTransportImpl(context, serverUniAddress, port, localAddress, localPort, forceSigning); // Ensure the transport is connected and ready transport.ensureConnected(); // Verify multi-channel capability (SMB3+ required) if (!transport.isSMB2() || !transport.hasCapability(0x00000008)) { // SMB2_GLOBAL_CAP_MULTI_CHANNEL
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
synchronized (transport) { // this needs to be done before the reference to the remote hostname later transport.ensureConnected(); if (waitForState(transport) == 2) { // already connected return null; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
throw new SmbException(ie.getMessage(), ie); } } try { trans.ensureConnected(); /* * Session Setup And X Request / Response */ if (log.isDebugEnabled()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0)