- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 93 for reconnection (1.04 sec)
-
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
} }); } /** * Perform the actual reconnection logic. * This method should be overridden by subclasses to provide the actual * SMB reconnection implementation. * * @param info the handle information * @return true if reconnection was successful * @throws Exception if reconnection fails */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 8.5K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
/** * Check if this handle is currently reconnecting * @return true if reconnecting */ public boolean isReconnecting() { return reconnecting; } /** * Set the reconnecting state * @param reconnecting the reconnecting state */ public void setReconnecting(boolean reconnecting) { this.reconnecting = reconnecting; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java
import java.nio.ByteBuffer; import java.util.UUID; /** * Handle GUID structure for SMB2/3 durable and persistent handles. * Provides a unique identifier for each handle that can be used * for reconnection after network failures or server reboots. * * According to MS-SMB2, the GUID is a 16-byte structure with little-endian * byte ordering for the individual components. */ public class HandleGuid implements Serializable {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
* the security mode flags for the session * @param capabilities * the client capabilities * @param previousSessionid * the previous session ID for reconnection (or 0 for new session) * @param token * the security token for authentication */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
*/ public class HandleReconnectorTest { @Mock private PersistentHandleManager mockManager; private HandleReconnector reconnector; private HandleInfo testHandle; @BeforeEach public void setUp() { MockitoAnnotations.openMocks(this); reconnector = new HandleReconnector(mockManager, 2, 50); // 2 retries, 50ms delay HandleGuid guid = new HandleGuid();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java
*/ @Override protected URLConnection openConnection(final URL u) throws IOException { return new GcsURLConnection(u); } /** * GcsURLConnection is a URL connection implementation for accessing GCS objects. * It extends URLConnection to provide connectivity to Google Cloud Storage.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 9.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java
*/ @Override protected URLConnection openConnection(final URL u) throws IOException { return new S3URLConnection(u); } /** * S3URLConnection is a URL connection implementation for accessing S3 objects. * It extends URLConnection to provide connectivity to S3-compatible storage services.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 07:57:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
* @return A {@link URLConnection} object to the URL. */ public static URLConnection openConnection(final URL url) { assertArgumentNotNull("url", url); try { final URLConnection connection = url.openConnection(); connection.setUseCaches(false); return connection; } catch (final IOException e) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
import java.io.IOException; import java.net.URL; import java.net.URLConnection; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Unit tests for {@link Handler}. * * Tests the SMB URL handler implementation including: * - Default port configuration * - URL connection opening * - URL creation and parsing */ public class HandlerTest {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
URL url = new URL(null, "smb://example-host/share/", new Handler()); // Act URLConnection conn = handler.openConnection(url); // Assert assertNotNull(conn); assertTrue(conn instanceof SmbFile, "Connection should be an instance of SmbFile"); SmbFile file = (SmbFile) conn;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0)