- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 366 for reconnect (0.19 seconds)
-
src/test/java/jcifs/util/transport/TransportTest.java
class ConnectionLifecycleTests { @Test @DisplayName("connect should return true if already connected") void shouldReturnTrueIfAlreadyConnected() throws TransportException { transport.setState(3); // Connected assertTrue(transport.connect(1000)); } @Test @DisplayName("connect should throw TransportException on connection failure")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
* @throws SmbException if the connection fails */ public void connect() throws SmbException { try { super.connect(RESPONSE_TIMEOUT); } catch (final TransportException te) { throw new SmbException("Failed to connect: " + address, te); } } @Override protected void doConnect() throws IOException { /*Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.8K bytes - Click Count (0) -
internal/grid/manager.go
if err != nil { writeErr(fmt.Errorf("reading connect: %w", err)) return } if debugPrint { fmt.Printf("%s handler: Got message, length %v\n", m.local, len(msg)) } var message message _, _, err = message.parse(msg) if err != nil { writeErr(fmt.Errorf("error parsing grid connect: %w", err)) return } if message.Op != OpConnect {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Nov 12 20:41:41 GMT 2024 - 10.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
} void connect0() throws SmbException { try { connect(); } catch (final SmbException se) { throw se; } catch (final IOException ioe) { throw new SmbException("Failed to connect to server", ioe); } } void doConnect() throws IOException { SmbTransport trans; UniAddress addr = getAddress();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt
} class DelayingSocketFactory( val onConnect: Socket.(timeout: Int) -> Unit = {}, val onRead: Socket.() -> Unit = {}, val onWrite: Socket.() -> Unit = {}, ) : DelegatingSocketFactory(getDefault()) { override fun createSocket(): Socket { return object : Socket() { override fun connect( endpoint: SocketAddress?, timeout: Int, ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 11 02:37:00 GMT 2026 - 28.8K bytes - Click Count (0) -
docs/pt/docs/tutorial/server-sent-events.md
`data` e `raw_data` são mutuamente exclusivos. Você só pode definir um deles em cada `ServerSentEvent`. /// ## Retomando com `Last-Event-ID` { #resuming-with-last-event-id } Quando um navegador se reconecta após uma queda na conexão, ele envia o último `id` recebido no cabeçalho `Last-Event-ID`. Você pode lê-lo como um parâmetro de cabeçalho e usá-lo para retomar o stream de onde o cliente parou:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:13 GMT 2026 - 4.9K bytes - Click Count (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();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
/** * Sets the connection builder for customizing the connection. * * @param connectionBuilder the connection builder * @return this CurlRequest instance */ public CurlRequest onConnect(final BiConsumer<CurlRequest, HttpURLConnection> connectionBuilder) { this.connectionBuilder = connectionBuilder; return this; } /** * Adds a request parameter. *Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 19.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
plan1.tcpConnectDelayNanos = 10.ms // Connect at time = 260 ms. plan1.tlsConnectDelayNanos = 10.ms // Connect at time = 270 ms. plan1.tlsConnectThrowable = IOException("boom!") val plan2 = plan1.createConnectTlsNextPlan() plan2.tcpConnectDelayNanos = 270.ms // Connect at time = 540 ms. val plan3 = plan0.createRetry() plan3.tcpConnectDelayNanos = 10.ms // Connect at time = 530 ms.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 20.9K bytes - Click Count (0) -
docs/tr/docs/tutorial/security/index.md
/// ## OpenID Connect { #openid-connect } OpenID Connect, **OAuth2** tabanlı başka bir spesifikasyondur. OAuth2’de nispeten belirsiz kalan bazı noktaları tanımlayarak onu daha birlikte çalışabilir (interoperable) hâle getirmeye çalışır. Örneğin, Google ile giriş OpenID Connect kullanır (arka planda OAuth2 kullanır).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 15:43:38 GMT 2026 - 5K bytes - Click Count (0)